J jbates83 New member Local time Today, 19:12 Joined Jul 21, 2003 Messages 7 Jul 25, 2003 #1 I am trying to make a yes or no exit message box if it is yes I want it to exit the form if it is no I want it to go back to the form, but I cant seemk to get it right. Can someone help me?
I am trying to make a yes or no exit message box if it is yes I want it to exit the form if it is no I want it to go back to the form, but I cant seemk to get it right. Can someone help me?
S Shadez Registered User. Local time Today, 19:12 Joined Jan 20, 2003 Messages 192 Jul 25, 2003 #2 Msgboxs are easy, Code: [B]VBA[/B] if msgbox("Are you sure?",vbyesno,"EXIT") = vbyes then 'close form end if I suggest you look in the help its very informative. ShadeZ
Msgboxs are easy, Code: [B]VBA[/B] if msgbox("Are you sure?",vbyesno,"EXIT") = vbyes then 'close form end if I suggest you look in the help its very informative. ShadeZ