Cell acell, mycell, urcell;
acell = gcSpreadGrid1.Cells[0, 0];
mycell = gcSpreadGrid1.Cells[2, 2];
urcell = gcSpreadGrid1.Cells[2, 3];
mycell.Value = 10;
urcell.Value = 10;
acell.Formula = "SUM(C3, D3)";
Dim acell As Cell, mycell As Cell, urcell As Cell acell = gcSpreadGrid1.Cells(0, 0) mycell = gcSpreadGrid1.Cells(2, 2) urcell = gcSpreadGrid1.Cells(2, 3) mycell.Value = 10 urcell.Value = 10 acell.Formula = "SUM(C3, D3)"