I'll admit upfront i don't get the IE object.
What I'm trying to do is open one web page and then open a 2nd page (as a 2nd tab).
Using Access 2016 and IE11 in a corporate environment.
Here's my code so far:
Trouble is, IE always opens up 2 windows. I'd love for it instead to open up 2 tabs. Suggestions?
What I'm trying to do is open one web page and then open a 2nd page (as a 2nd tab).
Using Access 2016 and IE11 in a corporate environment.
Here's my code so far:
Code:
ie.Navigate2 "msnbc.com", 2 + 65536
Pause (2) [calls a function that waits 2 seconds]
ie.Navigate2 "cnn.com", 2 + 65536 <-- at this point, VBA acts like the IE object disappeared, so I use a "get" function to find the IE object.
Trouble is, IE always opens up 2 windows. I'd love for it instead to open up 2 tabs. Suggestions?