R/export_excel.R
write_wb.Rd
Saves a wbWorkbook object to a specified file path, creating directories if necessary and appending .xlsx if missing.
wbWorkbook
.xlsx
write_wb(wb, file)
A wbWorkbook object.
File path to save the workbook.
Invisibly returns the path to the saved file.
if (FALSE) { # \dontrun{ write_wb(wb, "output.xlsx") } # }