Skip to contents

Remove row heights from a worksheet

Usage

wb_remove_row_heights(wb, sheet = current_sheet(), rows)

Arguments

wb

A workbook object

sheet

A name or index of a worksheet

rows

Indices of rows to remove custom height (if any) from.

Examples

## Create a new workbook
wb <- wb_load(file = system.file("extdata", "openxlsx2_example.xlsx", package = "openxlsx2"))

## remove any custom row heights in rows 1 to 10
wb$remove_row_heights(1, rows = 1:10)