Hi,
I know how to hide all shapes in a document before
printing:
With ActiveDocument
iNum = 1
Do Until iNum = .Shapes.Count + 1
.Shapes(iNum).Visible = msoFalse
iNum = iNum + 1
Loop
iNum = 1
End With
But if I try to use the same method to hide all fields in
the document, there is no such thing as:
.Fields(iNum). Visible = msoFalse
The field I want to hide is:
{ MACROBUTTON NoMacro [Click here to type your text] }
and I don't think is nice to show that field on the print
out.
Any clue would be very appreciated.
/ Ulf
Doug Robbins - 12 Nov 2004 11:14 GMT
Use:
ActiveDocument.Fields(inum).Code.Font.Color = wdColorWhite

Signature
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.
Hope this helps,
Doug Robbins - Word MVP
> Hi,
> I know how to hide all shapes in a document before
[quoted text clipped - 22 lines]
>
> / Ulf