ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Userform question (https://www.excelbanter.com/excel-programming/437759-userform-question.html)

Robert Crandal

Userform question
 
Can anybody explain the differences between
showing/loading a userform along with hiding/unloading
a userform??

I'm guessing that a "load" will create the form in
memory but it remains non-visible?? Does that
mean that a call of "Userform1.Show" loads it
in memory AND makes it visible??



joel[_389_]

Userform question
 

Show : Calls the userform initialize function the first time and not
afterwards and displays the userform

Load : Is the same as show but doesn't display the userform.

Hide : Exits the userform and keeps it in memory so the next time it is
Show/Load is performed it will not run the initialize function

UnLoad : Exits the userform and doesn't keeps it in memory so the next
time it is Show/Load is performed it will run the initialize function.

Visibile = True : Just makes the loaded userform visible

Visibile = False : Just makes the loaded userform invisible


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=164953

Microsoft Office Help



All times are GMT +1. The time now is 02:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com