Calling and Hiding a Userform

A userform can be called from any module. FormName.Show pops up a form for the user: frm_AddEmp.Show

The Load method can also be used to call a userform. This allows a form to be loaded, but remain hidden.

To hide a userform, use the Hide method. The form is still active but is now hidden from the user. The controls on the form can still be accessed programmatically.

The Unload method unloads the form from memory and removes it from the user's view. The form can no longer be accessed by the user or programmatically:

Unload Me

0 0

Post a comment