Returns an aggregate in a list or database.
This method doesn't have any parameters.
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.AGGREGATE(9, 4, 10, 30, 50, 5)); builder.SaveFile("xlsx", "AGGREGATE.xlsx"); builder.CloseFile();