P
paolo
Is this a good idea?
Sub blahblah
On error goto Error
If blahblahblah then
Return:
(code stuff here)
End If
Blahblah:
Exit Sub
Error:
If blahblahblah then
Goto Return
End If
Resume Blahblah
End Sub
In other words is a goto statement to the middle of an if then
statement inherently a bad idea?
Thanks in advance,
Paolo
Sub blahblah
On error goto Error
If blahblahblah then
Return:
(code stuff here)
End If
Blahblah:
Exit Sub
Error:
If blahblahblah then
Goto Return
End If
Resume Blahblah
End Sub
In other words is a goto statement to the middle of an if then
statement inherently a bad idea?
Thanks in advance,
Paolo