Find words on website using macro?? can this be done??

traxx

New Member
Joined
Nov 25, 2009
Messages
3
i have this code that calls/loads hyperlink on a browser using macro...now, i want to find words on the site using macro..can this be done??:(:confused:

Goal: to know if the words listed in an excel sheet present on the website..

Please help..Thanks...:biggrin:
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
here's the code im telling you about...

Sub View()
Dim i As Integer
Sheets("Sheet1").Range("e1").Select

For i = 1 To 2

On Error GoTo ErrorHandler
ActiveCell.Offset(1, 0).Select
Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
ActiveCell.EntireRow.Interior.ColorIndex = 6
Application.Wait Now + TimeValue("0:0:3")
Next i

ErrorHandler:
ActiveCell.Interior.ColorIndex = 6
Resume Next

End Sub

that code opens the link listed in an excel for several seconds then opens the next one and so on..

now, if its possible, i want to find certain text on the site, color the cell green if the word is on the site while red when the word is not...

thanks in advance guys...
 
Upvote 0

Forum statistics

Threads
1,223,237
Messages
6,170,928
Members
452,366
Latest member
TePunaBloke

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top