how can I close a UserForm using a shortcut key ?

F

Frank Kabel

Hi
have a look at the accelerator property of a command button.

--
Regards
Frank Kabel
Frankfurt, Germany

How can I close a UserForm using a shortcut key ?

T. I. A.
 
D

Dave Peterson

Another option is to set the .cancel property of your close/cancel button to
true. Then you can just hit the escape key to "click" that button.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top