GcSpread.Sheets Namespace > Sheet type : setArrayFormula Method |
var instance = new GcSpread.Sheets.Sheet(name); var returnValue; // Type: any returnValue = instance.setArrayFormula(row, col, rowCount, colCount, value);
activeSheet.getCell(1,1).value(3); activeSheet.getCell(2,1).value(1); activeSheet.getCell(3,1).value(3); activeSheet.getCell(4,1).value(7); activeSheet.getCell(1,2).value(7); activeSheet.getCell(2,2).value(7); activeSheet.getCell(3,2).value(7); activeSheet.getCell(4,2).value(7); spread.canUserEditFormula(true); activeSheet.setArrayFormula(0, 3, 4, 1, "B2:B5*C2:C5");