I am successfully using the following code to open an instance of IE to a specific web page.
Dim IE As InternetExplorer
Dim ULogin As Boolean, ieForm
Dim MyPass As String, MyLogin As String
Dim ieDoc As Object
Set IE = New InternetExplorer
IE.Visible = True
'Loop until ie page is fully loaded
Do Until IE.ReadyState = READYSTATE_COMPLETE
Now I need to determine what page is displaying and log the result (in Column-A) and time (in Column-B) on a worksheet in the workbook. In my case I can determine the page by the text displayed. If I find the text "this" then I can say "page 1" is displaying. If I find the text "that" then I can say "page 2" is displaying. And if neither text is found then record "Other".
How can I find specific text phrases on the page I open and then record the results as I've described above in a worksheet.
Thank you in advance,