garden_rael
Board Regular
- Joined
- Apr 1, 2008
- Messages
- 100
Hi
I've created a user form with VBA in Excel...
I've put a close button there to close both form and worksheet... but the close (x) button on the upper right side of the form in enable so if the user closes the form using that button... he goes to my main worksheet where all my information is located...
How can I prevent that?
Is there a code to disable the close button (x) from the upper side and leave only MY close button that I programmed?
I've created a user form with VBA in Excel...
I've put a close button there to close both form and worksheet... but the close (x) button on the upper right side of the form in enable so if the user closes the form using that button... he goes to my main worksheet where all my information is located...
How can I prevent that?
Is there a code to disable the close button (x) from the upper side and leave only MY close button that I programmed?