PrintForm Method Example

In the following example, the client area of the form is printed when the user clicks the form.

' This is the click event for UserForm1
Private Sub UserForm_Click()
    UserForm1.PrintForm
End Sub