How can I print while suppressing some text in a document?

G

Guest

I have a document that I want to suppress or hide some of the text in it at
different places while printing. The problem is that I don't want to change
the spacing of the parargraph when it is suppressed. I want the big blank
gap (implace of the text) when I do print. Do you know of anyway to do this
with out having to go through the document and change text types everytime I
want to print? Anyone know of a conditional type printing in word?

thanks
BEn
 
T

Tony Jollans

There is no very easy way to do this. The normally recommended way is to set
the font to white.

If you give all the text you want to hide a special style then all you need
to do is change that style, but that will only work effectively if all the
text is in the same format to start with. If it is varied I'm afraid it can
be difficult.
 
G

Greg Maxey

Ben,

Define a style for that particular text. Lets call the style name
"White." Set the style font color to white prior to printing and back
to black, auto, etc. when done.

You could do this with a simple macro:

Sub Test()
ActiveDocument.Styles("White").Font.Color = wdColorWhite
ActiveDocument.PrintOut
ActiveDocument.Styles("White").Font.Color = wdColorAutomatic
End Sub
 

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