[RESOLVED] Not showing warnings
Man im dumb, I forgot it goes back to the button when it closes, and it had an err.description there :( Sorry
I tried doing a search, but alas, I came up empty handed.
Probably a simple question but here it goes anyways :)
I am using VBA and I want to prompt before the form closes. If the user selects cancel, it doesnt close, otherwise, it does. I have this working, but the problem is, whenever the user clicks cancel a messagebox pops up and displays "The Close action has been canceled"
Any ideas how to stop this from displaying?
Re: [RESOLVED] Not showing warnings
KFC ( :lol: )
Please post the code that you are using.. It sounds as though you are capturing the cancel button in the wrong method..
Re: [RESOLVED] Not showing warnings
Heh I figured this was gonna get moved :p Although the answer is relevant to VB6 as well :)