nianchi111
Board Regular
- Joined
- Aug 24, 2007
- Messages
- 197
- Office Version
- 365
Hi,
I want to find a word in excel and I have used this code.
Sheets("Sheet1").Select
ActiveSheet.Columns("A:A").Select
Selection.Find(What:="Owner:", After:=ActiveCell, LookIn:=xlFormulas _
, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
The Challenge is some times it is "Owner" or "Last known".
So first it has look for Owner if this is not found then find Last Known.
Please help me.
I want to find a word in excel and I have used this code.
Sheets("Sheet1").Select
ActiveSheet.Columns("A:A").Select
Selection.Find(What:="Owner:", After:=ActiveCell, LookIn:=xlFormulas _
, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
MatchCase:=False, SearchFormat:=False).Activate
The Challenge is some times it is "Owner" or "Last known".
So first it has look for Owner if this is not found then find Last Known.
Please help me.