Is there a simple way of doing this?
I want to find a particular word on the page of the website and highlight it just as if i was using ctrl+f within internet explorer. I would like to send this command from excel though - is this possible?
thanks
Sub FindMyText()
Dim appIE As InternetExplorer
Dim sURL As String
dim sText as string
sText="MCAB"
Set appIE = New InternetExplorer
sURL = "
With appIE
.Visible = True
.Navigate sURL
End With
SendKeys "^F" 'followed by sText and Enter
End Sub
I want to find a particular word on the page of the website and highlight it just as if i was using ctrl+f within internet explorer. I would like to send this command from excel though - is this possible?
thanks
Sub FindMyText()
Dim appIE As InternetExplorer
Dim sURL As String
dim sText as string
sText="MCAB"
Set appIE = New InternetExplorer
sURL = "
With appIE
.Visible = True
.Navigate sURL
End With
SendKeys "^F" 'followed by sText and Enter
End Sub