I have tried many thing and it just would not work.
Say I have a form with a close button on it. If I click on cancel by accident and the messeage box appears asking if I'm sure I want to close the form, and I don't want to. What coding do I use if I click no the it would just close the msgbox and leave the form open. However if I click yes, it should close the form.
Can a code be written to do this procedure?