Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
Office 2003
Sheets Interface
Sheets Methods
 GetEnumerator Method
Collapse All/Expand All Collapse All
Other versions are also available for the following:
Excel Primary Interop Assembly Reference 
Sheets.GetEnumerator Method 
Returns an enumerator to support iterating through the collection.

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

Visual Basic
Dim returnValue As IEnumerator
Dim sheets1 As Sheets
returnValue = sheets1.GetEnumerator()
Visual Basic
Function GetEnumerator() As IEnumerator
C#
IEnumerator GetEnumerator();
C++
public: IEnumerator^ GetEnumerator();
J#
public IEnumerator GetEnumerator();
JScript
function GetEnumerator() : IEnumerator;
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

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker