Click or drag to resize

INamedRange Interface

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.

Namespace: Spire.Xls.Core
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public interface INamedRange : IExcelApplication

The INamedRange type exposes the following members.

Properties
Name Description
Public property Index
Returns the index number of the object within the collection of similar objects. Read-only Long.
Public property IsLocal
Indicates whether name is local.
Public property Name
Returns or sets the name of the object. Read / write String.
Public property NameLocal
Returns or sets the name of the object, in the language of the user. Read / write String for Name.
Public property Parent
Gets the parent object of the current instance.
(Inherited from IExcelApplication .)
Public property RefersToRange
Returns the Range object referred to by a Name object. Read-only.
Public property Scope
Returns string representation of the name's scope. Read-only.
Public property Value
For the Name object, a string containing the formula that the name is defined to refer to. The string is in A1-style notation in the language of the macro, and it begins with an equal sign.
Public property ValueR1C1
Gets named range formula in R1C1 style. Read only.
Public property Visible
Determines whether the object is visible. Read / write Boolean.
Public property Worksheet
Returns parent worksheet. Read-only.
Top
Methods
Name Description
Public method Delete
Deletes the object.
Top
See Also