Inactiver183192
New Member
- Joined
- Jun 12, 2011
- Messages
- 15
HTML:
Errhandler:
On Error GoTo 0
On Error GoTo errhandler2:
Do
Set lastfind = .Range("D1:D" & lastrow).Find(What:="", After:=.Range("D1"), LookIn:=xlValues, SearchDirection:=xlPrevious)
If lastfind.Offset(0, 1).Value <> 0 And lastfind.Offset(0, 2).Value <> 0 Then
Hi all
I have a line that take my code to the first Errhandler line. However I want to reset so that the next error encountered will go to the errhandler2: line. Bascially I want to kind of reset the error handling so that any errors past the first few lines then links to the next handler that I have placed. LIke a tiered error handler. Is this possible? I'd appreciate any help! The code above doesn't work of course when it can't find blanks it brings up the error but I want it instead to move to the next handle thanks!
Last edited: