See Also

INames Interface  | INames Members  | Overload List

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

name
Specifies the name of the defined name.
formula
Specifies the formula to assign to the defined name.
See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

Add(String,String) Method

SpreadsheetGear Namespace > INames Interface > Add Method : Add(String,String) Method

Adds a name to the collection using the default reference style for the IWorkbookSet, or modifies the name if it already exists.

[Visual Basic]
Overloads Overridable Function Add( _    ByVal name As String, _    ByVal formula As String _ ) As IName
[C#]
virtual IName Add(    string name,    string formula );
[C++]
virtual IName* Add(    string* name,    string* formula )
[C++/CLI]
virtual IName^ Add(    String^ name,    String^ formula )

Parameters

name
Specifies the name of the defined name.
formula
Specifies the formula to assign to the defined name.

Return Type

The newly created or modified defined name.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

INames Interface  | INames Members  | Overload List

 

 


See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.

Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.

SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.