

'Intercepts the Word 2007/2010/2013 Quick Print commands 'Prevent triggering a duplicate print in the class modules (Word 2010/2013)ĪctiveDocument.PrintOut Background:=False 'Intercepts the Word 2007 Menu>Print>Print commandĪctiveDocument.Styles("Placeholder Text").Font.Hidden = True 'Delayed call from class Word 2010/2013 onlyĪctiveDocument.Styles("Placeholder Text").Font.Hidden = False 'Initialize variable and class (Word 2010/2013 only) when Word starts Public p_bInPreviewPrintEditMode As Boolean


The Normal project is project associated with the Normal template. Rename the class module "clsPrint." Rename the standard module any meaningful name.

The first method employs the application event "DocumentBeforePrint," repurposed Print commands and a temporary modification of the document's Placeholder text style. Method I - Detect Events/Intercept Commands/Modify PHT Style There is no option in Word to exclude printing content control PHT, and without an intensive form validation process, you can't make the user fill out each field.Įach of the automated solutions provided require VBA which means the template and form documents must be macro enabled (i.e. Unfortunately there isn't a simple solution. Representation of a printed document with bubble added for emphasis
