Collapse the table of content
Expand the table of content
Expand Minimize

Print Command (File Menu)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Prints forms and code to the printer specified in the Microsoft Windows Control Panel.

Toolbar shortcut: tbr_prnt_ZA01201725. Keyboard shortcut: CTRL+P.


Identifies the printer to which you are printing.


Determines the range you print:

  • Selection — Prints the currently selected code.

  • Current Module — Prints the forms and/or code for the currently selected module.

  • Current Project — Prints the forms and/or code for the entire project.

Print What

Determines what you print. You can select as many options as you like, depending on what you selected as the Range.

  • Form Image — Prints the form images.

  • Code — Prints the code for the selected range.

Print Quality

Determines whether you print high, medium, low, or draft output quality.

Print to File

If selected, print is sent to the file specified in the Print To File dialog box. This dialog box appears after you choose OK in the Print dialog box.


Prints your selection.


Closes the dialog box without printing.


Displays the standard Print Setup dialog box.

© 2015 Microsoft