wb_clone_worksheet: Clone a worksheet to a workbook
Description
Clone a worksheet to a Workbook object
Usage
wb_clone_worksheet(wb, old = current_sheet(), new = next_sheet())
Value
The wb object
Arguments
wb
A wbWorkbook object
old
Name of existing worksheet to copy
new
Name of New worksheet to create
Details
Cloning is possible only to a limited extent. References to sheet names in
formulas, charts, pivot tables, etc. may not be updated. Some elements like
named ranges and slicers cannot be cloned yet.