Partager via


ChartObjects.Visible Property

Determines whether the object is visible.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Visible As Boolean
    Get
    Set
'Usage
Dim instance As ChartObjects
Dim value As Boolean

value = instance.Visible

instance.Visible = value
bool Visible { get; set; }

Property Value

Type: System.Boolean

Remarks

The Visible property for a PivotTable item is True if the item is currently visible in the table.

If you set the Visible property for a name to False, the name won't appear in the Define Name dialog box.

See Also

Reference

ChartObjects Interface

ChartObjects Members

Microsoft.Office.Interop.Excel Namespace