Table of contents
Collapse the table of content
Expand the table of content

PrintForm Method

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Sends a bit-by-bit image of a UserForm object to the printer. Syntaxobject.PrintForm The object placeholder represents anobject expression that evaluates to an object in the Applies To list. If object is omitted, the UserForm with thefocus is assumed to be object. RemarksPrintForm prints all visible objects andbitmaps of the UserForm object. PrintForm also prints graphics added to a UserForm object. The printer used by PrintForm is determined by the operating system's Control Panel settings.


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()
End Sub
© 2018 Microsoft