I am writing VBS code to open Internet Explorer and go to http://www.google.com However when I run the program, it opens and navigates to http://www.yahoo.com but the internet explorer is NOT the front window. Can anyone help me with this? Is there a code I can use to bring internet explorer to the front? Thank you all! Here is my code:
Option Explicit
Dim ie
Set ie = CreateObject("InternetExplorer.Application")
ie.Navigate("wwww.yahoo.com")
One last question – Is there a code I can use to click a certain button that – specifically one that I can’t get to by pressing “tab”?
Thank you all!
Try this: