Skip to main content

ApiName

Class representing a name.

Properties​

NameTypeDescription
NamestringSets a name to the active sheet.
RefersTostringReturns or sets a formula that the name is defined to refer to.
RefersToRangeApiRangeReturns the ApiRange object by reference.

Methods​

The following table lists the available methods.

MethodReturnsDescription
DeletebooleanDeletes the DefName object.
GetNamestringReturns a type of the ApiName class.
GetRefersTostringReturns a formula that the name is defined to refer to.
GetRefersToRangeApiRangeReturns the ApiRange object by its name.
SetNamebooleanSets a string value representing the object name.
SetRefersTobooleanSets a formula that the name is defined to refer to.