I want to copy an entire worksheet from an Excel file to another Excel file. I found cloneWorksheet() from openxlsx which clones a worksheet to the same excel file. I wonder if there is a way to paste it to a different, existing file?
I also found saveWorkbook() saves the sheet as a workbook, but I just want to save it as a sheet to the workbook without erasing other sheets in the workbook.
easily done.