Spread for ASP.NET 10 Product Documentation
ResetFormula Method
Example 


Resets the formula for the cell to empty.
Syntax
'Declaration
 
Public Sub ResetFormula() 
'Usage
 
Dim instance As Cell
 
instance.ResetFormula()
public void ResetFormula()
Example
This example uses the ResetFormula method.
FarPoint.Web.Spread.Cell mycell;
mycell = FpSpread1.Cells[2,0];
FpSpread1.ActiveSheetView.SetValue(0,0,10);
FpSpread1.ActiveSheetView.SetValue(1,0,10);
mycell.Formula="SUM(A1:A2)";
//mycell.ResetFormula();
Dim mycell As FarPoint.Web.Spread.Cell
mycell = FpSpread1.Cells(2, 0)
FpSpread1.ActiveSheetView.SetValue(0, 0, 10)
FpSpread1.ActiveSheetView.SetValue(1, 0, 10)
mycell.Formula = "SUM(A1:A2)"
'mycell.ResetFormula()
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

Cell Class
Cell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.