Learn R Programming

openxlsx2 (version 0.3.1)

wb_remove_row_heights: Remove custom row heights from a worksheet

Description

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.

See Also

wb_set_row_heights()

Examples

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

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

Run the code above in your browser using DataLab