M
mark
can a goto statement be used to skip some lines in the
code. i have an if statement here like this. thanks for
all your help.
If Lrows > 500 Then
YesNo = MsgBox("....", vbYesNo +
vbQuestion , "Caution")
Select Case YesNo
Case vbYes
'MsgBox "Yes"
GoTo Line45
Case vbNo
MsgBox "No"
Exit Sub
End Select 'Line 45
Else
End If
code. i have an if statement here like this. thanks for
all your help.
If Lrows > 500 Then
YesNo = MsgBox("....", vbYesNo +
vbQuestion , "Caution")
Select Case YesNo
Case vbYes
'MsgBox "Yes"
GoTo Line45
Case vbNo
MsgBox "No"
Exit Sub
End Select 'Line 45
Else
End If