Sub topic 10
Saving your work and choosing a file format
This chapter assumes you can open Excel, find the File tab, and tell a workbook from a worksheet. You will learn how saving works, which file format to pick, and which mistakes cause data loss. The target length is about 470 words.
Save and Save As
Excel has two saving commands, both on the File tab in Backstage view.
- Save (Ctrl+S) writes your changes to the current file. On a new workbook, it opens the Save As screen because the file has no name or location yet.
- Save As (F12) writes a copy under a new name, location, or format. The copy becomes the open workbook.
If AutoSave is on for a file stored in OneDrive or SharePoint, Excel saves changes continuously. For files on your own disk, AutoSave is unavailable. Save them yourself, and often.
Common file formats
The format is set by the file extension. Choose it in the Save as type list.
| Format | Extension | Use it when |
|---|---|---|
| Excel Workbook | .xlsx | This is the default. It holds data, formulas, charts, and formatting, but no macros. |
| Excel Macro-Enabled Workbook | .xlsm | The workbook contains VBA macros. |
| Excel Binary Workbook | .xlsb | The file is very large and opens slowly. |
| Excel 97-2003 Workbook | .xls | You must share with very old software. |
| CSV (Comma delimited) | .csv | Another program needs plain text data. |
| You want a fixed, read-only copy for printing or sharing. | ||
| Excel Template | .xltx | You want a reusable starting point. |
Gotchas to know
- Saving a macro workbook as .xlsx removes the macros. Excel asks before it does so. Choose No and save as .xlsm instead.
- Saving as .xls can drop newer features, such as some functions and chart types. Run File > Info > Check for Issues > Check Compatibility first.
- Choose a clear name and a folder you will remember. Keep the extension visible so you know the format.
Worked example
You have a budget workbook with three sheets and want to send the totals to an accounting system that reads CSV.
- Press Ctrl+S to save the working copy as
Budget.xlsx. - Go to the sheet that holds the totals.
- Press F12, set Save as type to CSV (Comma delimited), name it
BudgetTotals.csv, and select Save. - When Excel warns that only the active sheet will be saved, select OK.
- Close the CSV and reopen
Budget.xlsxfor further edits.
Exercise
You save a workbook that contains VBA macros as an .xlsx file. What happens, and what should you have chosen?
Show answer
Excel removes the macros from the saved file, after warning you. You should have chosen Excel Macro-Enabled Workbook (.xlsm).
Exercise
A colleague's program needs your data as plain text. Which format do you pick, and what do you lose from a multi-sheet workbook?
Show answer
Pick CSV. Only the active sheet is saved, and you lose formatting, charts, and formulas (the results remain as values).