Name Properties (Excel)

This object has the following 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

Returns or sets the comment associated with the name. Read/write String.

Creator

Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long.

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

Returns True if the specified Name object is a valid workbook parameter. Read-only Boolen.

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

Returns or sets the specified Name object as a workbook parameter. Read/write

Show:
© 2015 Microsoft