Is "On error exit sub" valid? I am trying to use that and VBA does not like that... Todd
T Todd Huttenstine Apr 24, 2004 #1 Is "On error exit sub" valid? I am trying to use that and VBA does not like that... Todd
J JE McGimpsey Apr 24, 2004 #2 Did you look at the Help, Todd? You can use a label just before the end of the sub: On Error GoTo Exit_Sub 'do stuff Exit_Sub: End Sub
Did you look at the Help, Todd? You can use a label just before the end of the sub: On Error GoTo Exit_Sub 'do stuff Exit_Sub: End Sub
T Todd Huttenstine Apr 24, 2004 #3 oh ok thanks. Yeah I just used a label but for some reason I thought on error exit sub was an actual command.
oh ok thanks. Yeah I just used a label but for some reason I thought on error exit sub was an actual command.