How to clear a form from the screen

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I need to have a cancel button on my form that removes it from the screen. I
don't always want to click the x in the corner.

Is this possible?

Thanks in Advance
Gordon
 
Hi

Add a button on your userform with a macro with this line

Unload Me

And in the properties of the button set Cancel to True
 

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

Back
Top