LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 101
Default Unloading A Form


How can I check if a form is loaded or not?

Reason for wanting to do this:
I have a button on a worksheet which displays a form. I use
form.show to do this. It takes a long time to load as there is
a lot to do in the initialization.

There is a button the on form that says "exit" but it only hides
the form. If the user then clicks the worksheet button again the
form is displayed very fast as it only has to be unhidden.

There is one condition which can happen which would mean
I want to unload the form. If I use unload.form and the form
is loaded and either hidden or not, it unloads fast. If it is not
loaded it then loads (which takes AGES) then unloads.

I would like to only unload it if it is loaded but cannot work out
how to do check.

TIA.

Chrissy


 
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
Formula (off form) that completes form data based on a result lldiel Excel Worksheet Functions 2 November 24th 09 11:09 PM
Using a template form, advance a form number everytime you open ShoDan Excel Discussion (Misc queries) 1 January 31st 08 01:34 PM
how can I make a form number change everytime the form is opened babydumplingspita Excel Worksheet Functions 1 October 10th 05 07:58 PM
Unloading an Add-In Jack Excel Programming 1 October 1st 03 09:39 AM
How to force Workbook's macro unloading? Mauricio Villada Excel Programming 0 September 22nd 03 10:09 PM


All times are GMT +1. The time now is 03:05 AM.

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

About Us

"It's about Microsoft Excel"