Search notes:

VBA statements: Load und Unload

load obj loads a an object into memory.
unload obj removes an object from memory
Typically, such objects are UserForm objects.
Loaded UserForm objects are listed in the UserForms collection.
After loading a UserForm, it is not visible and needs to be made visible explicitly by calling the UserForm's .show() method.
A typical scenario to use load on a UserForm is to set (global) member-variables of the form before showing the form:
load frmXYZ

frmXYZ.val_1 = "foo"
frmXYZ.val_2 = "bar"
frmXYZ.val_3 = "baz"

frmxYZ.show()

See also

Error 361: Can't load or unload this object.
VBA statements

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758201040, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/VBA/language/statements/load-unload/index(61): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78