largeselection
Active Member
- Joined
- Aug 4, 2008
- Messages
- 358
I don't know why this isn't working and I've tried a bunch of different combinations, but basically i'd just like to exit the sub if the user clicks the cancel button.
I've tried the variations of code below: Anyone see where the issue is?
I keep getting type mismatch errors.
and
I've tried the variations of code below: Anyone see where the issue is?
I keep getting type mismatch errors.
Code:
Resp = Application.InputBox("File Name Please...", "", , , , , 1)
If Resp = False Then
Exit Sub
Else
End If
Continue0:
Code:
Resp = Application.InputBox("File Name Please...", "", , , , , 1)
If Resp <> False Then
GoTo Continue0
Else
Exit Sub
End If
Continue0: