ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   unload vs hide userforms (https://www.excelbanter.com/excel-programming/411700-unload-vs-hide-userforms.html)

Randy

unload vs hide userforms
 
What is the difference in unload userform and userform.hide?
Thanks

Norman Jones[_2_]

unload vs hide userforms
 
Hi Randy,

Unload deletes the Userform from memory;
hide rmerly hides the Userform but retains it
in memory. Thus, with unload, any user data
inserted in the form will be destroyed; with
hide any such data will be available the next
time that the fotm is shown in the current
Excel session.


---
Regards.
Norman
"randy" wrote in message
...
What is the difference in unload userform and userform.hide?
Thanks



JLGWhiz

unload vs hide userforms
 
When you unload a UserForm, all of the values for the controls on the form
are emptied and become inaccessible. If you hide the form, you still have
access to the values of the controls.

"randy" wrote:

What is the difference in unload userform and userform.hide?
Thanks



All times are GMT +1. The time now is 08:00 AM.

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