I have searched for some time but can't seem to find the answer to my question. I would like to be able to switch back and forth between excel and the internet explorer using VBA. I can get the webpage open, but I don't know how to select excel to do some work and then switch back to Internet explorer. This is the code I used from the board to load the page.
'Sub Example()
Dim ie As Object
Set ie = CreateObject("InternetExplorer.Application")
ie.Navigate "www.google.com"
ie.Visible = True
ie.Toolbar = True
ie.AddressBar = True
ie.MenuBar = True
ie.StatusBar = True
'Sub Example()
Dim ie As Object
Set ie = CreateObject("InternetExplorer.Application")
ie.Navigate "www.google.com"
ie.Visible = True
ie.Toolbar = True
ie.AddressBar = True
ie.MenuBar = True
ie.StatusBar = True