Spread for ASP.NET 8.0 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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Cell Class
Cell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.