Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi there Getting a bit rusty with VBA - I'm sure I would have solved this myself a while back! I am testing some workbooks for specific text strings. If the strings exist its an error and the macro should stop and report. If there are no strings thats fine - move to the next test. Can someone give me a pointer as to how to construct the error handling in this instance? ![]() I'm looking to wrap something around this: Sheets.Select Cells.Find(What:="not a valid", After:=ActiveCell, LookIn:=xlValues, _ LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, _ MatchCase:=False, SearchFormat:=False).Activate On Error GoTo ErrorTrap1 Any suggestions appreciated... Neil -- frango_head ------------------------------------------------------------------------ frango_head's Profile: http://www.excelforum.com/member.php...o&userid=33355 View this thread: http://www.excelforum.com/showthread...hreadid=531864 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Find and replace results can the appearance of find be different? | Excel Discussion (Misc queries) | |||
fIND GIVES NO RESULTS | Excel Discussion (Misc queries) | |||
find multiple results | Excel Discussion (Misc queries) | |||
where to put results of find operation in find and replace functio | Excel Worksheet Functions | |||
Find all results dialog box | Excel Discussion (Misc queries) |