NamedRange.ListNames Method

Pastes a list of all displayed names onto the worksheet, beginning with the first cell in the NamedRange control.

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

Syntax

'Declaration
Function ListNames As Object
Object ListNames()

Return Value

Type: System.Object

Remarks

Use the Names property to return a collection of all the names on a worksheet.

.NET Framework Security

See Also

Reference

NamedRange Interface

Microsoft.Office.Tools.Excel Namespace