Search results
7 sty 2022 · As of 25th April 2022, you can now directly automate Edge IE Mode with VBA without any additional third party-software. The below guidance has been well tested by me and my colleagues after obtaining it from exchanging with our partnered Microsoft Support team.
This automation method only works for Edge IE Mode, not Edge entirely. For direct automation with Chromium-based browsers such as Chrome and Edge with VBA, see this git of mine instead: https://github.com/longvh211/Chrome-Automation-with-CDP-for-VBA.
16 sty 2023 · So I heard I can use Edge in IE mode on Windows 10 without installing seleniumbasic. But couldn't find working script. In this link Automating Edge Browser using VBA without downloading Selenium. An answer listed possible workarounds.
27 kwi 2022 · If Selenium is not an option, I think you can't automate with Edge IE mode. The only way to automate with Edge IE mode is using IEDriver. You can't do it with only VBA. You need to: Define InternetExplorerOptions with additional properties that point to the Microsoft Edge browser.
This method is useful when the target environment is unable to perform the necessary windows upgrade to transist to Edge IE Mode Automation from the original Internet Explorer (see my StackOverflow's response below for further details here).
Using Internet Explorer Automation. As pointed out below in the comments section by Jason, we can actually use Internet Explorer automation to open Edge to a given URL. Here is a cleaned up version of the code: Sub OpenURL7(ByVal sURL As String) Dim oIE As Object. Set oIE = CreateObject(“InternetExplorer.Application”) With oIE.Visible = False
27 kwi 2022 · My code which worked with IE will only open IE browser and will not interact with Edge. Do I have to amend anything to tell VBA to interact with Edge IE mode instead of IE? My computer is in Win10 20H2 and KB5011487 have been installed to it.