klornpallier
Technical User
I have a exit button with the code:
Private Sub CmdExit_Click()
Dim ExitQuestion As String
ExitQuestion = MsgBox("Have you saved your Schedule before Exiting?", vbYesNo, "Exit Scheduling Form")
If vbYes Then
End
Else
Exit Sub
End If
End Sub
If vbNo is selected I want the load to stay loaded but this code doesnt seem to work. Help
Private Sub CmdExit_Click()
Dim ExitQuestion As String
ExitQuestion = MsgBox("Have you saved your Schedule before Exiting?", vbYesNo, "Exit Scheduling Form")
If vbYes Then
End
Else
Exit Sub
End If
End Sub
If vbNo is selected I want the load to stay loaded but this code doesnt seem to work. Help