I've developed a number of macros that use VBA to open iMacros and scrape / update various websites. Normally, I use the iMacros browser and occasionally the IE browser. I'm working on a new macro but the website does respond well to either the iMacros or IE browser.
I'm trying to user iMacros for Chrome. From what I have read, I should be able to open iMacros for Chrome like this:
Set iim1 = CreateObject("imacros")
iret = iim1.iimOpen("-cr", True)
However, it isn't working like I expect it to. It opens Chrome and then after about 60 seconds, it shuts Chrome down without executing any other commands in my macro.
Am I doing something wrong or is something not installed correctly? Any suggestions would be appreciated. This is the first macro I'm developing with Chrome.
These are the settings I'm currently using: Office 365 (Excel 2016) iMacros for Chrome 12.0.501.6698 Windows 10 64 bit OS Chrome version 77.
It might be an idea to check if your IE thing runs in compatibility mode. I've had same issues with the webbrowser control in VBA using Autocad. Even if IE was installed if I navigate to a website showing the browser version I got Stonehenge old IE6 shown. So this might also happen in your case. I am quite sure they just utilize the MS IE Engine. Here is a link which looks outdated but it's all the same: Same with Acces upgrade to IE 11 After I put acad.exe in the registry with the 11000 value Stonehenge was gone :)
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
Add a key with the name of your running executable and the DWORD 11000. So it just might be an idea to investigate in the same direction.