Written by Allen Wyatt (last updated May 28, 2024)
This tip applies to Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365
When Stephen chooses to print something, Word warns him that what he is trying to print is "outside the printing boundaries," but he can still print. Stephen wonders if there is any way to tell Word that he always prints outside the boundaries so that he doesn't always have to deal with this notification.
There is no way to turn this notification on or off—in other words, it is not a configuration setting you can make in the program. You can, however, turn off notifications while running a macro. This means that you can print via a macro, and simply turn notifications off just before printing and turn them back on right after printing. You do this using the DisplayAlerts property:
Application.DisplayAlerts = wdAlertsNone Application.DisplayAlerts = wdAlertsAll
The first line turns off alerts and the second turns them on. It is important to remember that these lines are always used as a pair. If you turn off alerts and never turn them back on, you won't see any alerts even after the macro is ended.
A simple way to use them in a macro is shown here:
Sub PrintMyDocument() With Application .DisplayAlerts = wdAlertsNone .PrintOut Background:=False .DisplayAlerts = wdAlertsAll End With End Sub
In order to use the macro, simply load the document you want to print and then run the macro. You won't see the notifications appear.
Note:
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (7594) applies to Microsoft Word 2007, 2010, 2013, 2016, 2019, and Word in Microsoft 365.
Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!
Have a bunch of documents you need to print? If all the documents are open, you can use a handy little macro to print ...
Discover MoreYou can change the order in which pages are printed (normal or reversed) using the Print dialog box or the print settings ...
Discover MoreWhen printing in color (at a commercial printer) it is necessary to print different colors of your document in different ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Word that uses the ribbon interface (Word 2007 or later)? This site is for you! If you use an earlier version of Word, visit our WordTips site focusing on the menu interface.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments