Visible property (Excel Graph)

The Visible property as it applies to the following objects.

Application object

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

Syntax

expression.Visible

expression Required. An expression that returns an Application object.

ChartFillFormat object

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

Syntax

expression.Visible

expression Required. An expression that returns a ChartFillFormat object.

Example

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.