Usually when I set variables in debug mode, I can hover my mouse over it and see what the its value is. However, when I do it to "ieDoc" it doesn't show anything.
If I interact with ieDoc (e.g. ieDoc.getElementById("")) no error shows up, nothing happens. I make sure the webpage is loaded (the macro has no issue interacting with "ieApp"). What am I doing wrong?
Code:
With CreateObject("Shell.Application").Windows[INDENT]If .Count > 0 Then[/INDENT]
[INDENT=2]Set ieApp = .Item(0)[/INDENT]
[INDENT]Else[/INDENT]
[INDENT=2]Set ieApp = CreateObject("InternetExplorer.Application")[/INDENT]
[INDENT=2]ieApp.Visible = True[/INDENT]
[INDENT]End If[/INDENT]
End With
ieApp.Navigate URL
Call loopBusy
Set ieDoc = ieApp.Document '<---------------------
If I interact with ieDoc (e.g. ieDoc.getElementById("")) no error shows up, nothing happens. I make sure the webpage is loaded (the macro has no issue interacting with "ieApp"). What am I doing wrong?