Partager via


Name Members

Include Protected Members
Include Inherited Members

Represents a defined name for a range of cells.

The Name type exposes the following members.

Properties

  Name Description
Public property _Default Reserved for internal use.
Public property Application Returns an Application object that represents the Microsoft Excel application.
Public property Category Returns or sets the category for the specified name in the language of the macro.
Public property CategoryLocal Returns or sets the category for the specified name, in the language of the user, if the name refers to a custom function or command.
Public property Comment Returns or sets the comment associated with the name. Read/write String.
Public property Creator Returns a 32-bit integer that indicates the application in which this object was created.
Public property Index Returns the index number of the object within the collection of similar objects.
Public property MacroType Returns or sets what the name refers to.
Public property Name Returns or sets the name of the object.
Public property NameLocal Returns or sets the name of the object in the language of the user.
Public property Parent Returns the parent object for the specified object.
Public property RefersTo Returns or sets the formula that the name is defined to refer to, in the language of the macro and in A1-style notation, beginning with an equal sign.
Public property RefersToLocal Returns or sets the formula that the name refers to.
Public property RefersToR1C1 Returns or sets the formula that the name refers to.
Public property RefersToR1C1Local Returns or sets the formula that the name refers to.
Public property RefersToRange Returns the Range object referred to by a Name object.
Public property ShortcutKey Returns or sets the shortcut key for a name defined as a custom Microsoft Excel 4.0 macro command.
Public property ValidWorkbookParameter Returns True if the specified Name object is a valid workbook parameter. Read-only Boolen.
Public property Value Returns a string containing the formula that the name is defined to refer to.
Public property Visible Determines whether the object is visible.
Public property WorkbookParameter Returns or sets the specified Name object as a workbook parameter. Read/write

Top

Methods

  Name Description
Public method Delete Deletes the object.

Top

See Also

Reference

Name Interface

Microsoft.Office.Interop.Excel Namespace