Workbook.ActiveSheet Property


Gets the active sheet (the sheet on top).

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

object ActiveSheet { get; }

Property Value

Type: System.Object

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

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

Return to top