Word VBA, Print Current Page

In this article I will explain how you can use VBA for word to print the current page.


Contents

Basics:

The code below will print the current page:

Application.PrintOut , Range:= wdPrintCurrentPage

Note: The print job will be sent to the currently active printer.


Print Multiple:

The code below will make print 4 copies of the current page:

Application.PrintOut , Range:=wdPrintCurrentPage, Copies:=4


Print Shortcut:

You can assign a shortcut key to the macros above. This way whenever that key or key combination is pressed the macro will execute. I have covered this topic in the article below:

 

If you need assistance with your code, or you are looking for a VBA programmer to hire feel free to contact me. Also please visit my website  www.software-solutions-online.com

2 thoughts on “Word VBA, Print Current Page”

Leave a Reply

Your email address will not be published. Required fields are marked *