This documentation is archived and is not being maintained.

_Application.Worksheets Property 

Returns a Sheets collection that represents all the worksheets in the active workbook.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

'Usage
Dim _Application1 As _Application

Dim returnValue As Sheets
returnValue = _Application1.Worksheets

Sheets Worksheets {get;}
public Sheets get_Worksheets();
function get Worksheets() : Sheets;

This property doesn’t return macro sheets; use the Excel4MacroSheets property or the Excel4IntlMacroSheets property to return those sheets.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Show: