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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
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,214,542
Messages
6,120,116
Members
448,945
Latest member
Vmanchoppy

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