Udostępnij za pośrednictwem


NamedRange.ListNames Method (2007 System)

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.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

Syntax

'Declaration
Public Function ListNames As Object
'Usage
Dim instance As NamedRange 
Dim returnValue As Object 

returnValue = instance.ListNames()
public Object ListNames()
public:
Object^ ListNames()
public function ListNames() : Object

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 Class

NamedRange Members

Microsoft.Office.Tools.Excel Namespace