共用方式為


Workbook.ActiveSheet Property

Definition

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