Visible Property

Microsoft Graph Visual Basic

Determines whether the object is visible. Read/write Boolean.

expression.Visible

expression    Required. An expression that returns an Application object.

ShowVisible property as it applies to the ChartFillFormat object.

Determines whether the application is visible. Read/write MsoTriState.

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

expression.Visible

expression    Required. An expression that returns a ChartFillFormat object.

Example

ShowAs it applies to the ChartFillFormat object.

This example formats the chart's fill with a preset gradient and then makes the fill visible.

With myChart.ChartArea.Fill
    .Visible = msoTrue
    .PresetGradient msoGradientDiagonalDown, _
         3, msoGradientBrass
End With