Export (0) Print
Expand All

Worksheets Interface 

A collection of all the Worksheet objects in the specified or active workbook. Each Worksheet object represents a worksheet.

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

'Usage
Public Class orksheetsImplementation
	Implements Worksheets
End Class
Dim orksheetsImplementation1 As New orksheetsImplementation()

public interface class Worksheets
public interface Worksheets
public interface Worksheets

Use the Worksheets property to return the Worksheets collection.

Use the Add method to create a new worksheet and add it to the collection.

Use Worksheets(index), where index is the worksheet index number or name, to return a single Worksheet object.

The Worksheet object is also a member of the Sheets collection. The Sheets collection contains all the sheets in the workbook (both chart sheets and worksheets).


Development Platforms

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

Target Platforms

Community Additions

ADD
Show:
© 2014 Microsoft