This event occurs when an application loads a form.
Private Sub form_Load( )
For a startup form, the event occurs when an application starts. This event also occurs when a form is first shown or as the result of a reference to an unloaded form's properties or controls.
When you create procedures for related events, such as Activate, GotFocus, Paint, and Resize, be sure that their actions do not conflict and that they do not cause recursive events.