Skip to contents

This function writes the provided data frame (new_master_sheets) to an Excel file specified by filename.

Usage

save_master_sheet(new_master_sheets, filepath = NULL, modified_only = FALSE)

Arguments

new_master_sheets

A LoadedWB object.

filepath

A string specifying the path and name of the Excel file to be created. If NULL will be path of the loaded sheet.

modified_only

Only save the file if the sheet has been flagged as modified.

Value

The function returns the updated LoadedWB object after saving.

Examples

if (FALSE) { # \dontrun{
save_master_sheet(new_master_sheets, "output.xlsx")
} # }