almostfrugal
Programmer
I have programmed an Excel VBA macro which creates an Internet Explorer object (objInternetExplorer) and then navigates to a webpage which contains frames. I want to grab text from inside one of the frames. I've tried:
and all I get is an empty string. Surely there is a way to navigate the DOM to get to the text I want, but I just can't find it. Thanks.
Code:
strText = objInternetExplorer.Document.Body.InnerText
and all I get is an empty string. Surely there is a way to navigate the DOM to get to the text I want, but I just can't find it. Thanks.