Saturday, May 8, 2010

Locationname Property

Locationname Property Example

strLink= "http://www.google.com"
Set objIExplorer = CreateObject("internetexplorer.application")
objIExplorer.visible = True
objIExplorer.navigate strLink

Do While objIExplorer.Busy
WScript.Sleep 1000
Loop

ln= objIExplorer.locationname
msgbox ln





See all Methods & Properties of InternetExplorer Object here.