SpreadsheetGear.Advanced.Cells Namespace > IValues Interface > SetFormula Method : SetFormula(Int32,Int32,String) Method |
'Declaration
Overloads Sub SetFormula( _ ByVal row As System.Integer, _ ByVal column As System.Integer, _ ByVal formula As System.String _ )
'Usage
Dim instance As IValues Dim row As System.Integer Dim column As System.Integer Dim formula As System.String instance.SetFormula(row, column, formula)
See the IValues overview for warnings about using this method.
The specified formula must be a valid cell formula. A leading "=" is optional.
Note that, unlike Formula, this method does not try to parse the value as anything but a valid formula, and an ArgumentException will be thrown if the formula is invalid.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2