View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 27,285
Default Userform Exit button

Use the QueryClose event.

--
Regards
Tom Ogilvy

"Luis" wrote in message
...
Hello.
I want to re-programme the X button on a userform to alter the behaviour

of
the button. I want to close the application instead of closing the form.

How can i do this?