#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Form Unload

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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I remove (not unload) a user installed Excel add-in ? bill h Excel Discussion (Misc queries) 1 March 1st 10 09:16 PM
Is there a way to unload the loaded XLL file in Excel? Hi all, I amdebugging XLL link library using Visual C++. Everytime I rebuild the XLL, Ihave to close the whole Excel program and relaunch the Excel program again,and then load in the newly gene LunaMoon Excel Discussion (Misc queries) 0 July 28th 08 11:03 PM
Using a template form, advance a form number everytime you open ShoDan Excel Discussion (Misc queries) 1 January 31st 08 01:34 PM
Time Format & Unload problem Rod Taylor Excel Programming 4 July 24th 03 11:31 PM
Unload from Memory Charles Williams Excel Programming 0 July 18th 03 08:42 AM


All times are GMT +1. The time now is 11:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"