Excel.Interfaces.NamedItemData interface

An interface describing the data returned by calling namedItem.toJSON().

Properties

name

The name of the object.

type

Specifies the type of the value returned by the name's formula. See Excel.NamedItemType for details.

value

Represents the value computed by the name's formula. For a named range, it will return the range address. This API returns the #VALUE! error in the Excel UI if it refers to a user-defined function.

visible

Specifies if the object is visible.

Property Details

name

The name of the object.

name?: string;

Property Value

string

Remarks

[ API set: ExcelApi 1.1 ]

type

Specifies the type of the value returned by the name's formula. See Excel.NamedItemType for details.

type?: Excel.NamedItemType | "String" | "Integer" | "Double" | "Boolean" | "Range" | "Error" | "Array";

Property Value

Excel.NamedItemType | "String" | "Integer" | "Double" | "Boolean" | "Range" | "Error" | "Array"

Remarks

[ API set: ExcelApi 1.1 for String,Integer,Double,Boolean,Range,Error; 1.7 for Array ]

value

Represents the value computed by the name's formula. For a named range, it will return the range address. This API returns the #VALUE! error in the Excel UI if it refers to a user-defined function.

value?: any;

Property Value

any

Remarks

[ API set: ExcelApi 1.1 ]

visible

Specifies if the object is visible.

visible?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.1 ]