sheet_names-wb {openxlsx2} | R Documentation |
Get / Set worksheet names for a workbook
Description
Gets / Sets the worksheet names for a wbWorkbook object.
Usage
wb_set_sheet_names(wb, old = NULL, new)
wb_get_sheet_names(wb, escape = FALSE)
Arguments
wb |
A wbWorkbook object |
old |
The name (or index) of the old sheet name. If |
new |
The name of the new sheet |
escape |
Should the xml special characters be escaped? |
Details
This only changes the sheet name as shown in spreadsheet software and will not alter it elsewhere. Not in formulas, chart references, named regions, pivot tables or anywhere else.
Value
-
set_
: ThewbWorkbook
object. -
get_
: A named character vector of sheet names in order. The names represent the original value of the worksheet prior to any character substitutions.
[Package openxlsx2 version 1.8 Index]