Package com.aspose.cells

Examples of com.aspose.cells.Workbook.calculateFormula()


    //Adding a SUM formula to "A4" cell
    cell = cells.get("A4");
    cell.setFormula("=SUM(A1:A3)");

    //Calculating the results of formulas
    book.calculateFormula();

    //Saving the Excel file
    book.save("data/AsposeFormulaEngine.xls");
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.