Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / INames Interface / AddExternalVariable Method / AddExternalVariable(String,ExternalVariable,String) Method
A string value indicates the external variable name.
A ExternalVariable object indicates the external variable name to add.
A string value indicates the associated formula.


In This Topic
AddExternalVariable(String,ExternalVariable,String) Method
In This Topic
Creates a external variable.
Syntax
'Declaration
 
Overloads Function AddExternalVariable( _
   ByVal name As String, _
   ByVal externalVariable As ExternalVariable, _
   Optional ByVal formula As String _
) As Boolean
 
'Usage
 
Dim instance As INames
Dim name As String
Dim externalVariable As ExternalVariable
Dim formula As String
Dim value As Boolean
 
value = instance.AddExternalVariable(name, externalVariable, formula)

Parameters

name
A string value indicates the external variable name.
externalVariable
A ExternalVariable object indicates the external variable name to add.
formula
A string value indicates the associated formula.

Return Value

true if the externalVariable object is added successful; otherwise, false.
See Also