Hi Jeff,
To be more explicit about what needs to be done:
- First, define a character style, adding it to the template. The name
can be whatever you want, let's say NonPrint. It can have the same
formatting as the default style, or it can have your choice of font
name and size. Apply that style to each piece of text (in any document
based on this template) that should display but not print.
- In the same template, create two macros. One that's named FilePrint
will run when you use the menu item or the Ctrl+P shortcut, which
normally shows the Print dialog. One that's named FilePrintDefault
will run when you click the Print button on the toolbar, which
bypasses the dialog.
- Make the contents of the macros as follows:
Public Sub FilePrint()
On Error Resume Next
With ActiveDocument
.Styles("NonPrint").Font.Color = wdColorWhite
Dialogs(wdDialogFilePrint).Show
.Styles("NonPrint").Font.Color = wdColorAutomatic
End With
End Sub
Public Sub FilePrintDefault()
On Error Resume Next
With ActiveDocument
.Styles("NonPrint").Font.Color = wdColorWhite
.PrintOut Background:=False
.Styles("NonPrint").Font.Color = wdColorAutomatic
End With
End Sub