'Declaration Public Overloads Sub SetFormula( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal formula As String _ )
Parameters
- row
- The row index.
- column
- The column index.
- formula
- The formula to place in the specified cell.
'Declaration Public Overloads Sub SetFormula( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal formula As String _ )
gcSpreadSheet1.Sheets[0].SetValue(0, 0, 1); gcSpreadSheet1.Sheets[0].SetValue(0, 1, 2); gcSpreadSheet1.Sheets[0].SetValue(1, 0, 10); gcSpreadSheet1.Sheets[0].Cells[1, 1].Formula = "sum(A1:C1)"; gcSpreadSheet1.Sheets[0].SetFormula(3, 1, "A1+A2");
gcSpreadSheet1.Sheets(0).SetValue(0, 0, 1) gcSpreadSheet1.Sheets(0).SetValue(0, 1, 2) gcSpreadSheet1.Sheets(0).SetValue(1, 0, 10) gcSpreadSheet1.Sheets(0).Cells(1, 1).Formula = "sum(A1:C1)" gcSpreadSheet1.Sheets(0).SetFormula(3, 1, "A1+A2")