ChartData.Activate Method

Definition

Activates the first window of the workbook associated with the chart.

public:
 void Activate();
public void Activate ();
abstract member Activate : unit -> unit
Public Sub Activate ()

Remarks

If the chart is linked to a Microsoft Excel workbook, this method does not run any Auto_Activate or Auto_Deactivate macros that might be attached to the workbook (use the RunAutoMacros(XlRunAutoMacro) method to run those macros).

Note: This method must be called before referencing the Workbook property.

Applies to