buddythebest
Registered User.
- Local time
- Today, 15:18
- Joined
- Mar 31, 2006
- Messages
- 32
How can I let a message box with a Yes or No choice to actually cancel the event when "No" is chosen
This is the first line of an OnClick even for a delete button.... How can I actually let there be a different action for pressing the "No" button of the message box in the form... because with the above code ... yes or no choices are just there for kicks!!
In other words, how can I let different actions be based on buttons of a message box which I have created?
Thanks, I would appreciate any help
Code:
MsgBox "Are you sure you want to cancel this sale?", vbYesNo
This is the first line of an OnClick even for a delete button.... How can I actually let there be a different action for pressing the "No" button of the message box in the form... because with the above code ... yes or no choices are just there for kicks!!
In other words, how can I let different actions be based on buttons of a message box which I have created?
Thanks, I would appreciate any help

Last edited: