Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub test()
myReply = msgbox("Text", vbOKCancel, "Title")
If myReply = vbCancel Then GoTo TheyPressedCancel
'...
'Your Code
'...
TheyPressedCancel:
End Sub
Dim inp
inp = Application.InputBox("Input MM_DD" , "Input Required")
' Check to see if Cancel was pressed.
If inp <> False Then
' MAIN CODE HERE
' END OF MAIN CODE
End If
Exit Sub