Share via


_Application.ActiveChart Property

Returns a Chart object that represents the active chart (either an embedded chart or a chart sheet). An embedded chart is considered active when it's either selected or activated. When no chart is active, this property returns Nothing.

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

Syntax

'Declaration
ReadOnly Property ActiveChart As Chart
    Get
'Usage
Dim instance As _Application
Dim value As Chart

value = instance.ActiveChart
Chart ActiveChart { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.Chart

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Excel Namespace