Can I suppress the printing of a Word document's watermark?

B

Bob Arnett

I have a watermark in a Word 2007 document that actually reflects the paper
design on which the document will be printed. Therefore, I don't want the
watermark to print since it already exists on the paper. Is there a way keep
it from printing and yet display onscreen?
 
J

Jay Freedman

I have a watermark in a Word 2007 document that actually reflects the paper
design on which the document will be printed. Therefore, I don't want the
watermark to print since it already exists on the paper. Is there a way keep
it from printing and yet display onscreen?

You can't really 'suppress' the watermark, but with a macro you can
temporarily delete it, print the document, and then Undo to restore
the watermark.

Use the instructions at http://www.gmayor.com/installing_macro.htm if
needed.

Sub PrintWithoutWatermark()
Dim oHdr As HeaderFooter
Dim NeedUndo As Boolean

Set oHdr = ActiveDocument.Sections(1) _
.Headers(wdHeaderFooterPrimary)

If oHdr.Shapes.Count Then
' assume the last shape is the watermark
' and delete it
oHdr.Shapes(oHdr.Shapes.Count).Delete
NeedUndo = True
End If

ActiveDocument.PrintOut Background:=False

If NeedUndo Then ActiveDocument.Undo
End Sub

This macro can be assigned to a Quick Access Toolbar button or a
keyboard shortcut, by going through the Customize Quick Access Toolbar
dialog.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top