Search notes:

VBA statements: Load und Unload

load obj loads a
unload obj removes an object from memory
Typically, such objects are UserForms. 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