Shape.Visible Property (Word)
True if the specified object, or the formatting applied to it, is visible. Read/write MsoTriState.
Syntax
expression .Visible
expression Required. A variable that represents a Shape object.
Remarks
FSome methods and properties may be unavailable if the Visible property is False.
Example
This example creates a new document and then adds text and a rectangle to it. The example also sets Word to hide the rectangle while the document is being printed and then to make it visible again after printing is completed.
Set myDoc = Documents.Add
Selection.TypeText Text:="This is some sample text."
With myDoc
.Shapes.AddShape msoShapeRectangle, 200, 70, 150, 60
.Shapes(1).Visible = False
.PrintOut
.Shapes(1).Visible = True
End With