Name Object Members
Excel Developer Reference |
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.
Methods
Name | Description | |
---|---|---|
Delete | Deletes the object. |
Properties
Name | Description | |
---|---|---|
Application | When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only. | |
Category | Returns or sets the category for the specified name in the language of the macro. The name must refer to a custom function or command. Read/write String. | |
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. Read/write String. | |
Comment | Read/write | |
Index | Returns a Long value that represents the index number of the object within the collection of similar objects. | |
MacroType | Returns or sets what the name refers to. Read/write XlXLMMacroType. | |
Name | Returns or sets a String value representing the name of the object. | |
NameLocal | Returns or sets the name of the object, in the language of the user. Read/write String. | |
Parent | Returns the parent object for the specified object. Read-only. | |
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. Read/write String. | |
RefersToLocal | Returns or sets the formula that the name refers to. The formula is in the language of the user, and it's in A1-style notation, beginning with an equal sign. Read/write String. | |
RefersToR1C1 | Returns or sets the formula that the name refers to. The formula is in the language of the macro, and it's in R1C1-style notation, beginning with an equal sign. Read/write String. | |
RefersToR1C1Local | Returns or sets the formula that the name refers to. This formula is in the language of the user, and it's in R1C1-style notation, beginning with an equal sign. Read/write String. | |
RefersToRange | Returns the Range object referred to by a Name object. Read-only. | |
ShortcutKey | Returns or sets the shortcut key for a name defined as a custom Microsoft Excel 4.0 macro command. Read/write String. | |
ValidWorkbookParameter | Read-only | |
Value | Returns or sets a String value that represents the formula that the name is defined to refer to. | |
Visible | Returns or sets a Boolean value that determines whether the object is visible. Read/write. | |
WorkbookParameter | Read/write |