J
James
Hi I have the following code:
MsgBox "Are you sure you wish to Quit?",
vbYesNoCancel, "Quit?"
If vbYes Then DoCmd.Close
Else
DoCmd.CancelEvent
End If
It doesnt work... I click on Yes it closes... I click on
No it closes I click on Cancel it Closes....
Why??
Any help appreciated...
Many Thanks
James
MsgBox "Are you sure you wish to Quit?",
vbYesNoCancel, "Quit?"
If vbYes Then DoCmd.Close
Else
DoCmd.CancelEvent
End If
It doesnt work... I click on Yes it closes... I click on
No it closes I click on Cancel it Closes....
Why??
Any help appreciated...
Many Thanks
James