Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / INames Interface / Add Method
The text to use as the name. Names cannot include spaces and cannot 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 (INames)
    In This Topic
    Defines a new name. Returns the IName object.
    Syntax
    IName Add( 
       System.string name,
       System.string refersTo
    )

    Parameters

    name
    The text to use as the name. Names cannot include spaces and cannot 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