PDA

View Full Version : Start HTML parsing at an already open webpage



musicgold
09-10-2012, 07:40 AM
Hi,

As you know that to parse an html page, you need to open the webpage using the VB command similar to
IE. Navigate "google.com"

Sometimes it is hard to go to a webpage using VBA commands due to login instructions and human verification procedures involved to get to that page.


I am wondering if it is possible to get VBA to parse a webpage that is already open in an Internet Explorer Window.


Thanks.

Crocus Crow
09-10-2012, 10:54 AM
Loop through Shell.Windows looking for the IE window. Then use the HTMLdocument property of the found IE object.

musicgold
09-10-2012, 01:14 PM
Thanks.