[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.INames.Add

Add Method

Add(string, string)

Defines a new name. Returns the IName object.

Declaration
IName Add(string name, string refersTo)
Function Add(name As String, refersTo As String) As IName
Parameters
Type Name Description
string name

The text to use as the name. Names cannot include spaces and cannot look like cell references.

string refersTo

Required unless one of the other RefersTo arguments is specified. Describes what the name refers to (using A1-style notation).

Returns
Type Description
IName

Returns a new IName object.