Formula Constructor (function, range)

Yogesh.ExcelXml

A Sandcastle Documented Class Library Formula Constructor (function, range)
NamespacesYogesh.ExcelXmlFormulaFormula(String, Range)
Constructs a formula and adds a range as the first parameter
Declaration Syntax
C# Visual Basic Visual C++
public Formula(
	string function,
	Range range
)
Public Sub New ( _
	function As String, _
	range As Range _
)
public:
Formula(
	String^ function, 
	Range^ range
)
Parameters
function (String)
Function name
range (Range)
Range to add as parameter
Examples
CopyC#
Formula formula = new Formula("sum", new Range(cell1, cell2));

Assembly: Yogesh.ExcelXml (Module: Yogesh.ExcelXml) Version: 2.89.501.2158