powered by
Remove a worksheet from a Workbook object
Remove a worksheet from a workbook
wb_remove_worksheet(wb, sheet = current_sheet())
A workbook object
A name or index of a worksheet
## load a workbook wb <- wb_load(file = system.file("extdata", "openxlsx2_example.xlsx", package = "openxlsx2")) ## Remove sheet 2 wb <- wb_remove_worksheet(wb, 2)
Run the code above in your browser using DataLab