HELP - NEED FIND AND FIND NEXT MACRO
Posted by EGRIS on October 07, 2001 2:57 PM
I NEED A MACRO THAT SIMPLIFIES THE BELOW REPETITIVE MACRO. I HAVE A SHEET WHERE I NEED TO FIND AND HIGHLIGHT APPROXIMATELY 100 DIFFERENT CELLS IN COLUMN "A" WHICH HAS 1000 CELLS OF DATA. IS THERE A SIMPLER WAY OF DOING THIS RATHER THAN REPEATING THE FIND MACRO THAT I RECORDED WITH THE MACRO RECORDER BELOW:
Cells.Find(What:="WHATEVER", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False).Activate
ActiveCell.Interior.ColorIndex = 6
Cells.Find(What:="WHOEVER", After:=ActiveCell, LookIn:=xlFormulas, _
LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False).Activate
ActiveCell.Interior.ColorIndex = 6
ETC. ETC.