Last active
December 31, 2017 08:10
-
-
Save ganesh092929/ae776f5de50e6d55f27a9987620376f1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub BrowseToSite() | |
Dim IE As InternetExplorer | |
Set IE = CreateObject("InternetExplorer.Application") | |
IE.Visible = True | |
IE.Navigate "http://www.google.com" | |
'Waiting for Internet Explorer to load Fully | |
Do While IE.ReadyState <> READYSTATE_COMPLETE | |
Loop | |
'Print LocationName & LocationURL | |
Debug.Print IE.LocationName | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment