I am running Excel 2007 and writing code that 2003 users will run.
I have the following code looking for any hyphens (-) in Column E. If it doesn't find any, it automatically starts looking at other columns. How can I limit the search to only column E?
Here is the code that I am using
Thank you for your help in advance.
Charles
I have the following code looking for any hyphens (-) in Column E. If it doesn't find any, it automatically starts looking at other columns. How can I limit the search to only column E?
Here is the code that I am using
Code:
Range("E:E").Select
Cells.Find(What:="-", After:=ActiveCell, LookIn:=xlFormulas, LookAt:= _
xlPart, SearchOrder:=xlByColumns, SearchDirection:=xlNext, MatchCase:= _
False, SearchFormat:=False).Activate
Thank you for your help in advance.
Charles