Saving an Excel file: xlsx vs xls, xlsm, csv and PDF, and recovering work with AutoRecover
How to save Excel files correctly: xlsx, xlsm, xls, xlsb, CSV and PDF compared, what CSV throws away, AutoRecover and getting back an unsaved workbook.
Two hours of work can vanish in a second — a power cut or a frozen Excel is enough. So the first habit is Ctrl + S.
The second thing that matters is the format. The same table saved as .xlsx keeps its formulas and colors, while as .csv it becomes plain text: formulas, formatting and other sheets are gone. Knowing which format to pick and when is the key to never losing data.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Month | Sales | ||
| 2 | January | 42 000 000 | ||
| 3 | February | 45 500 000 | ||
| 4 | March | 48 100 000 | ||
| 5 |
Saving a file for the first time
1
Press Ctrl + S. If the new file has never been saved, Excel asks for a location and a name. To open the classic Save As dialog directly, press F12.
2
Choose a folder and type a clear name in File name: Sales_2025_Q1. A date or period in the name makes the file easy to find later. The characters \ / : * ? " < > | aren’t allowed in file names.
3
Pick the format from the Save as type list. For everyday work: **Excel Workbook (*.xlsx)**.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Month | Sales | ||
| 2 | January | 42 000 000 | ||
| 3 | February | 45 500 000 | ||
| 4 | March | 48 100 000 | ||
| 5 |
4
Click Save. The window title now shows your file name instead of “Book1”. From then on, Ctrl + S saves to the same file without asking — press it after every important change.
Formats: which one and when
- .xlsx — the standard format (since Excel 2007). Keeps formulas, formatting, charts and all sheets. 1,048,576 rows × 16,384 columns. Cannot store macros.
- .xlsm — same as xlsx but with macros (VBA). Save macro files only in this format.
- .xlsb — binary format: large files become 2–3 times smaller and open faster. Also stores macros.
- .xls — the old Excel 97–2003 format: only 65,536 rows and 256 columns. Use it only for very old software.
- .csv — plain text: one sheet, values only. For importing into accounting systems, banks, websites and other programs.
- .pdf — an uneditable, print-ready copy: an invoice for a client, a report for your manager.
- .xltx — a template: opening it gives you a new copy, not the file itself.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Code | Customer | Phone | Amount | |
| 2 | 00125 | Aziz | 998901234567 | 1 250 000 UZS | |
| 3 | 00126 | Dilnoza | 998935557788 | 870 000 UZS | |
| 4 | Total | 2 120 000 UZS | |||
| 5 |
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Code | Customer | Phone | Amount | |
| 2 | 1251 | Aziz | 9.98901E+112 | 1250000 | |
| 3 | 126 | Dilnoza | 9.98936E+11 | 870000 | |
| 4 | Total | 21200003 | |||
| 5 |
AutoRecover: settings that save your work
1
Open File → Options → Save. Save AutoRecover information every defaults to 10 minutes — lower it to 3–5. Make sure Keep the last AutoRecovered version if I close without saving is checked.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Month | Sales | ||
| 2 | January | 42 000 000 | ||
| 3 | February | 45 500 000 | ||
| 4 | ||||
| 5 |
2
If Excel closes unexpectedly, start it again — the Document Recovery pane appears on the left. Open the most recent version and save it right away with Ctrl + S.
3
If you closed a file with “Don’t Save”: File → Info → Manage Workbook → Recover Unsaved Workbooks. Excel opens the folder of unsaved copies — they are kept for a few days.
Saving as PDF — a print-ready copy
1
First decide what goes into the PDF: select the table → Разметка страницы → Print Area → Set Print Area. Otherwise helper calculations on the sheet end up in the PDF too.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Month | Sales | helper | ||
| 2 | January | 42 000 000 | 0,12 | ||
| 3 | February | 45 500 000 | |||
| 4 | March | 48 100 000 | |||
| 5 |
2
If the table is wide, choose Orientation → Landscape so columns don’t spill onto a second page.
3
File → Export → Create PDF/XPS Document (or F12 → Save as type: PDF). The Options... button lets you publish the entire workbook or just the selection.
Pro level: format subtleties
- xlsm → xlsx deletes macros. Save a macro file as .xlsx and Excel warns that the VB project can’t be saved in a macro-free workbook. Click Yes and every macro is gone for good.
- Saving as .xls truncates rows. Save a 100,000-row table as .xls and everything after row 65,536 is lost. Excel says so in the Compatibility Checker — read it carefully.
- Password. File → Info → Protect Workbook → Encrypt with Password sets a password to open the file. Forget it and not even Microsoft can recover it.
- A big file feels slow? Try saving it as .xlsb: the size drops noticeably while formulas and formatting stay the same.
- AutoSave and versions (Microsoft 365). When the file lives in OneDrive or SharePoint, the AutoSave switch at the top left saves every change, and File → Info → Version History brings back yesterday’s or last week’s state.
- CSV separator. The character Excel uses between columns in a CSV depends on your regional settings: in many European and post-Soviet locales it is a semicolon
;, not a comma. If another program opens the file as “one column”, that is why.
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.