Saturday, May 8, 2010

Document Property

Document Property Example

I have made one word file and I am navigating to that file.

Set objIExplorer = CreateObject("internetexplorer.application")
objIExplorer.visible = True

objIExplorer.navigate2 "C:\New.doc"

Do While objIExplorer.Busy
WScript.Sleep 1000
Loop

a=objIExplorer.document
msgbox a




See all Methods & Properties of InternetExplorer Object here.