This loop repeates five times:

  • function main(workbook: ExcelScript.Workbook) {
    for (let mycounter = 0; mycounter < 5; mycounter = mycounter + 1) {
    123+123
    }
    }