Form Unload

K

Khai

When I use VBA in Excel, and one form opens another which has a close
button on it, I'd figure that the close button would run "Unload Me" and it
would get rid of the 2nd form.

However, it closes the whole macro, including the original form.

I've tried Hide/Show, but if I click on the "X", it still closes my form and
my entire macro. Any suggestions on how I can just get the 'X' and Close
button to just hide/close that second form instead of exiting the whole
macro?

-khai
 

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