Export (0) Print
Expand All

Window.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)

'Usage
Dim window1 As Window

Dim returnValue As Chart
returnValue = window1.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

Community Additions

ADD
Show:
© 2014 Microsoft