Names Members

Include Protected Members
Include Inherited Members

A collection of all the Name objects in the application or workbook. Each Name object represents a defined name for a range of cells. Names can be either built-in names — such as Database, Print_Area, and Auto_Open — or custom names.

The Names type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the Microsoft Excel application.
Public property Count Returns the number of objects in the collection. Read-only Integer.
Public property Creator Returns a 32-bit integer that indicates the application in which this object was created. If the object was created in Microsoft Excel, this property returns the string XCEL, which is equivalent to the hexadecimal number 5843454C. Read-only XlCreator.
Public property Parent Returns the parent object for the specified object. Read-only.

Top

Methods

  Name Description
Public method _Default Reserved for internal use.
Public method Add Defines a new name. Returns a Name object.
Public method GetEnumerator() (Inherited from IEnumerable.)
Public method GetEnumerator()
Public method Item Returns a single Name object from a Names collection.

Top

See Also

Reference

Names Interface

Microsoft.Office.Interop.Excel Namespace