Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / INames Interface / add Method
The text to use as the name. Names cannot include spaces andcannot look like cell references.
Required unless one of the other RefersTo arguments is specified.Describes what the name refers to (using A1-style notation).
In This Topic
    add Method
    In This Topic
    Defines a new name. Returns the IName object.
    Syntax
    IName add( 
       java.lang.String name,
       java.lang.String refersTo
    )

    Parameters

    name
    The text to use as the name. Names cannot include spaces andcannot look like cell references.
    refersTo
    Required unless one of the other RefersTo arguments is specified.Describes what the name refers to (using A1-style notation).

    Return Value

    Returns a new IName object.
    See Also