Matterway
    Preparing search index...

    Function removeRows

    • Removes specific rows from a worksheet.

      Parameters

      • worksheet: Worksheet

        The ExcelJS worksheet.

      • rowIndexes: number[]

        An array of 1-based row indexes to remove.

      Returns void

      removeRows(worksheet, [2, 5, 7]); // Removes rows 2, 5, and 7