Quand le fichier est un ancien .xls
Points clés
- Ouvrir
- Réenregistrez
You want to turn an old-format .xls file into an HTML or Markdown table. Convert an Excel Table to HTML or Markdown targets .xlsx files. A .xls file as it is may not be usable.
Supported formats
- Supported: .xlsx
- Not supported: .xls (old format)
How to turn .xls into .xlsx
- Open the .xls file in Excel.
- Choose "Save As".
- Set the file type to "Excel Workbook (.xlsx)" and save.
- Open the saved .xlsx in this tool.
Changing only the extension doesn't work. Always re-save in Excel.
Notes when re-saving
- Keep the original .xls file as it is
- Macros aren't stored in .xlsx
- After saving, check that the table content is correct
Other methods
- You can also select the table, copy it and paste directly into a web page or document (though formatting can get mixed in)
- You can also save as CSV and use a conversion tool from CSV
For other formats
- .xlsm (with macros): re-save as .xlsx, then use.
- Google Sheets: download in Excel format, then use.
Convient pour
- Putting tables from old material on the web
- Turning old system output into documentation
Exemple
Wanted to put a 5-year-old .xls price list on the site. Re-saved as .xlsx in Excel, turned it into an HTML table with this tool and pasted it.
Common stumbling blocks
- "Cannot read" appears: may be .xls or a broken file.
- Garbled text: re-saving sometimes fixes it.
Frequently asked questions
Can I just rename the extension to .xlsx?
No. The internal format differs, so it won't work.
En résumé
For .xls, re-save as .xlsx in Excel first.
Utiliser « Convertir un tableau Excel en HTML ou Markdown » (gratuit)Outils complémentaires
- Convertir Excel en CSV ou JSON: Convertissez une feuille Excel en CSV, TSV ou JSON.
- Convertir Word en HTML: Convertissez le texte de Word en HTML.
- Convertir CSV et JSON: Convertissez instantanément entre CSV et JSON.
Si ce guide vous a aidé, un petit pourboire nous ferait très plaisir.
Laisser un pourboire (300 ¥)Offrir un cadeau (liste d'envies Amazon)