Clone a worksheet to a Workbook object
cloneWorksheet(wb, sheetName, clonedSheet)
XML tree
## Create a new workbook
wb <- createWorkbook("Fred")
## Add 3 worksheets
addWorksheet(wb, "Sheet 1")
cloneWorksheet(wb, "Sheet 2", clonedSheet = "Sheet 1")
## Save workbook
if (FALSE) { # \dontrun{
saveWorkbook(wb, "cloneWorksheetExample.xlsx", overwrite = TRUE)
} # }