Chooses a value or action to perform from a list of values, based on an index number.
This method doesn't have any parameters.
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); var oFunction = Api.GetWorksheetFunction(); oWorksheet.GetRange("A1").SetValue(oFunction.CHOOSE(2, 3, 4, 89, 76, 0)); builder.SaveFile("xlsx", "CHOOSE.xlsx"); builder.CloseFile();