O
oldjay
The following Sub works fine except if the first col
doesn't have a match it continues searching the other
cols.
I want it to quit and say "No match found"
Sub FindCustomer() 'This selects customer from customer
list based on what is in Cel B1
Sheets("Customer").Select
Range("B1").Select
Cells.Find(What:=ActiveCell & "*", After:=ActiveCell,
LookIn:=xlValues, LookAt:= _
xlWhole, SearchOrder:=xlByColumns,
SearchDirection:=xlNext, MatchCase:=False) _
.Activate
End Sub
I want to thank all the persons who replied in the pas
doesn't have a match it continues searching the other
cols.
I want it to quit and say "No match found"
Sub FindCustomer() 'This selects customer from customer
list based on what is in Cel B1
Sheets("Customer").Select
Range("B1").Select
Cells.Find(What:=ActiveCell & "*", After:=ActiveCell,
LookIn:=xlValues, LookAt:= _
xlWhole, SearchOrder:=xlByColumns,
SearchDirection:=xlNext, MatchCase:=False) _
.Activate
End Sub
I want to thank all the persons who replied in the pas