keith05281967
Board Regular
- Joined
- May 6, 2011
- Messages
- 68
Hello,
I'm trying to use the below to find a number of different spellings that might be used to represent the same column header. The vbe doesn't like this. Is there another way? Is it a syntax thing?
Cells.Find(What:="Tom" Or "Tommy" Or "Thomas", after:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlWhole, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
thanks,
Keith
excel 07
I'm trying to use the below to find a number of different spellings that might be used to represent the same column header. The vbe doesn't like this. Is there another way? Is it a syntax thing?
Cells.Find(What:="Tom" Or "Tommy" Or "Thomas", after:=ActiveCell, LookIn:=xlFormulas, LookAt _
:=xlWhole, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False)
thanks,
Keith
excel 07