I have a HTMLDocument that works fine. What I need to do is search this document for spacific words. Like InStr(), but for a document. I can put the document in to a text box like this:
How do I search the text for a certain words?
What doesn't kill you makes you stronger.
Code:
Dim Doc As HTMLDocument
Set Doc = WebBrowser1.document
Text1.Text = Doc.documentElement.innerHTML
How do I search the text for a certain words?
What doesn't kill you makes you stronger.