constant that determines the visibility of the specified worksheet. Read/write.
XlSheetVisibility can be one of these XlSheetVisibility constants. |
xlSheetHidden |
xlSheetVeryHidden |
xlSheetVisible |
expression.Visible
expression Required. An expression that returns one of the objects in the Applies To list.
Example
This example displays the legend for the specified chart and hides the specified legend entry.
Sub ShowLegend()
ChartSpace1.Charts(0).HasLegend = True
ChartSpace1.Charts(0).Legend.LegendEntries(1).Visible = False
End Sub