_Application.ActiveWorkbook Property

Definition

Returns a Workbook object that represents the workbook in the active window (the window on top). Returns Nothing if there are no windows open or if either the Info window or the Clipboard window is the active window.

public:
 property Microsoft::Office::Interop::Excel::Workbook ^ ActiveWorkbook { Microsoft::Office::Interop::Excel::Workbook ^ get(); };
public Microsoft.Office.Interop.Excel.Workbook ActiveWorkbook { get; }
Public ReadOnly Property ActiveWorkbook As Workbook

Property Value

Applies to