I am trying to use vbokcancel in a form.
Its when the user clicks the x in the top corner to close the form. I want to warn them that the data will not be saved so have put an ok cancel option in. I want to the ok optionto just close the form without saving the data and the cancel option to keep the form open. No matter what I try the cancel option still closes the form
Could someone help me with the code I need.
Many Thanks
Simon
Its when the user clicks the x in the top corner to close the form. I want to warn them that the data will not be saved so have put an ok cancel option in. I want to the ok optionto just close the form without saving the data and the cancel option to keep the form open. No matter what I try the cancel option still closes the form
Could someone help me with the code I need.
Many Thanks
Simon