It created issues again.
Before FOR, I declared it as an object variable and that took care of the issue.
Code:
Sub Findmyie()
Dim wd As Object
Dim htmldoc As MSHTML.HTMLDocument
Dim htmlinput As MSHTML.IHTMLElement
'loop through each window
For Each wd In CreateObject("Shell.Application").Windows
'test it
If wd = "Internet Explorer" Then
If InStr(UCase(wd.document.Title), "ENTRY") <> 0 Then
Exit For
End If
End If
Next wd
I have a small issue here, I have some names listed which I need to click to get more options.
However there is no I'd, so how can I click it.
Below is the code