Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Workbook.ActiveSheet Property

Definition

Namespace:
Microsoft.Office.Tools.Excel
Assemblies:
Microsoft.Office.Tools.Excel.dll, Microsoft.Office.Tools.Excel.v4.0.Utilities.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets the active sheet (the sheet on top).

public:
 property System::Object ^ ActiveSheet { System::Object ^ get(); };
public object ActiveSheet { get; }
member this.ActiveSheet : obj
Public ReadOnly Property ActiveSheet As Object

Property Value

The active sheet (the sheet on top); null if no sheet is active.

Remarks

If the workbook appears in more than one window, this property may be different in different windows.

Applies to