This article introduces how to use Aspose.Cells library to directly calculate custom functions in Microsoft Excel without writing the function in a worksheet using JavaScript via C++. Load an existing Excel file or create a new one, calculate the custom function, and save the modified file....calculateFormula(formula, opts) method...Cells. const ret = ws . calculateFormula ( "=A1 & MyCompany.CustomFunction()"...