Neither of these will work unless you wait for the page completion... (IOW, you have to monitor ReadyState).
Nor does that give you the full document, or even the original HTML document. IE loads up a local DOM version of the text, and then returns its DOM interpretation which is usually different than the raw HTML.
IOW, be careful relying on IE to capture HTML.
+++ Rick ---
>>
>
oIE = createobject('internetexplorer.application')
>oIE.Navigate('www.tek-tips.com')
>lcStr=oIe.Document.body.innertext
>?lcStr
>
>or
>
>
oIE = createobject('internetexplorer.application')
>oIE.Navigate('www.tek-tips.com')
>lcStr=oIe.Document.body.innerHTML
>?lcStr