I have some VBA code that pulls stock prices from the web. My code uses an InternetExplorer object / document to do so. However, if possible, I would like to use a Microsoft Edge object / document instead.
In my current code:
I initialize an InternetExplorer variable: Dim ie As InternetExplorer
Then I create an object: Set ie = CreateObject("InternetExplorer.Application")
I'm wondering if it is possible to use a Microsoft Edge instead of Internet Explorer object / document in my code. Thank you in advance.
Unfortunately Edge doesn't have an API VBA can use.
IE will continue to work.
Sources:
MSDN Social
SO
Sub OpenEdge()
ActiveWorkbook.FollowHyperlink Address:="microsoft-edge:https://www.google.com"
End Sub
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With