Remove column widths from a worksheet
removeColWidths(wb, sheet, cols)
## Create a new workbook
wb <- loadWorkbook(file = system.file("extdata", "loadExample.xlsx", package = "openxlsx"))
## remove column widths in columns 1 to 20
removeColWidths(wb, 1, cols = 1:20)
if (FALSE) { # \dontrun{
saveWorkbook(wb, "removeColWidthsExample.xlsx", overwrite = TRUE)
} # }