Hi,
I have a Sheet with 3 columns and x number of rows
The first column contains web addresses, middle one is not important and the third is blank.
What im trying to make is a macro that will search the first column for part of web address, eg. google and it will paste a specific formula in the third column depending on the result of the search. Also if the first column is empty then the macro will stop.
So an example is
Column 1--------Column2-----Column 3
Google.com--------------------=1+1
Google.co.uk-------------------=2+2
Yahoo-------------------------=3+3
I Have done:
Cells.Find(What:="google.co.uk", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
ActiveCell.Offset(columnOffset:=3).Activate
But i don't think im going down the right path here....
Any help would be greatly appreciated. My result will be posted if i manage to figure it out.
Regards,
TLeo
Bookmarks