Learn R Programming

openxlsx2 (version 0.3.1)

wb_set_sheet_names: Set worksheet names for a workbook

Description

Sets the worksheet names for a wbWorkbook object

Usage

wb_set_sheet_names(wb, old = NULL, new)

Value

The wbWorkbook object

Arguments

wb

A wbWorkbook object

old

The name (or index) of the old sheet name. If NULL will assume all worksheets are to be renamed.

new

The name of the new sheet