Simply opening a workbook and saving the workbook under a different name to create a copy/rename.
Actual Behavior
The excel file comes back with a "problem", and can be opened only with considerable amounts of data missing.
Steps to Reproduce the Problem
(please attach an example xlsx file if possible)
Loadworkbook
Saveworkbook
Currently the code looks exactly like this:
wb <- loadWorkbook(file_name) saveWorkbook(wb, newfileName, overwrite = T)
This isn't what the full program will look like, but I figured I would start as simply as possible, as writing data to it also produces the same errors.
Expected Behavior
Simply opening a workbook and saving the workbook under a different name to create a copy/rename.
Actual Behavior
The excel file comes back with a "problem", and can be opened only with considerable amounts of data missing.
Steps to Reproduce the Problem
(please attach an example xlsx file if possible)
Loadworkbook
Saveworkbook
Currently the code looks exactly like this:
wb <- loadWorkbook(file_name) saveWorkbook(wb, newfileName, overwrite = T)
This isn't what the full program will look like, but I figured I would start as simply as possible, as writing data to it also produces the same errors.