共用方式為


NamedRange.GetEnumerator Method

Gets an IEnumerator that can be used to iterate over the cells in the NamedRange control.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
Function GetEnumerator As IEnumerator
IEnumerator GetEnumerator()

Return Value

Type: System.Collections.IEnumerator

.NET Framework Security

See Also

Reference

NamedRange Interface

Microsoft.Office.Tools.Excel Namespace