I have the following code activated when the user clicks the close button:
intAnswer = _
Msgbox("Do you want to close this form?", vbYesNo, "Form Close")
If intAnswer = vbYes Then
Msgbox "Closing the form..."
Msgbox "Cancelled form close"
How can i cancel form closing if the user clicks "No"