This documentation is archived and is not being maintained.

_Workbook.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. Read-only.

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

Dim _Workbook1 As _Workbook

Dim returnValue As Chart
returnValue = _Workbook1.ActiveChart

Chart ActiveChart {get;}
public Chart get_ActiveChart();
function get ActiveChart() : Chart;

If you don't specify an object qualifier, this property returns the active chart in the active workbook.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms