Group: microsoft.public.excel.misc · Group Profile · Search for Cont6 in microsoft.public.excel.misc
Author: Chip Pearson
Date: Dec 28, 2007 06:30
I have the following code: On Error GoTo cont6: Cells.Find(What:="IP Trinity", After:=ActiveCell, LookIn:=xlFormulas, _ LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _ MatchCase:=False, SearchFormat:=False).Activate cont6: I have used this because when the required info is not found I was getting a runtime '91' error message - Object variable
|