Share via


Visible Property

MsoTriState

MsoTriState can be one of these MsoTriState constants.
msoCTrue
msoFalse
msoTriStateMixed
msoTriStateToggle
msoTrue The specified object or object formatting is visible.

Example

This example sets the horizontal and vertical offsets for the shadow of shape three on the first slide in the active presentation. The shadow is offset 5 points to the right of the shape and 3 points above it. If the shape doesn't already have a shadow, this example adds one to it.

Set myDocument = ActivePresentation.Slides(1)
With myDocument.Shapes(3).Shadow
    .Visible = msoTrue
    .OffsetX = 5
    .OffsetY = -3
End With

Applies to | Application Object | FillFormat Object | HeaderFooter Object | LineFormat Object | ShadowFormat Object | Shape Object | ShapeRange Collection Object | ThreeDFormat Object

See Also | Activate Method | Hidden Property