共用方式為


Workbook.Sheets Property

Definition

Gets a Sheets collection that represents all the sheets in the workbook.

public:
 property Microsoft::Office::Interop::Excel::Sheets ^ Sheets { Microsoft::Office::Interop::Excel::Sheets ^ get(); };
public Microsoft.Office.Interop.Excel.Sheets Sheets { get; }
member this.Sheets : Microsoft.Office.Interop.Excel.Sheets
Public ReadOnly Property Sheets As Sheets

Property Value

A Sheets collection that represents all the sheets in the workbook.

Remarks

The collection includes worksheets, charts, dialog sheets and macro sheets in the workbook.

Applies to