Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: How Excel Treats Disk Files.

How Excel Treats Disk Files

Written by Allen Wyatt (last updated March 8, 2025)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365


1

Over the years Excel has used several different file extensions to denote that the file is, indeed, native to Excel:

  • XLS. An Excel 97 through Excel 2003 workbook file.
  • XLSX. An Excel 2007 (or later) workbook file.
  • XLSM. An Excel 2007 (or later) workbook file that contains (or can contain) macros.
  • XLSB. An Excel file that is saved as binary workbook instead of .XLSM to reduce the size of the file.
  • XLAM. An Excel file that is an Excel Add-in.
  • XLA. Another Excel file that is an Excel Add-in.

If you use the Open dialog box to open any type of file besides these six, Excel will dutifully attempt to translate the information in that file into a meaningful format. For instance, if you attempt to open a file that contains nothing but text, Excel will read the information and place it in an otherwise blank workbook.

Excel can read files created by several other types of programs. The types of files you can open depend on your version of Excel. If there is any confusion as to how Excel should translate the file, it will ask you to select the type of translation to use.

When you load a file created by another program into Excel, you should understand that you might lose some formatting that is unique to that particular program. Rest assured, however, that Excel will do its absolute best to faithfully translate and load the file as you requested.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12743) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, 2021, 2024, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: How Excel Treats Disk Files.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Merging Cells to a Single Sum

One way to make your worksheets less complex is to get rid of detail and keep only the summary of that detail. Here's how ...

Discover More

Saving a Workbook in a Macro

Does your macro need to make sure that the workbook being processed is saved to disk? You can add the saving capability ...

Discover More

Counting Non-Blank Cells

Need to count the number of cells in a range that are not blank? You can use the COUNTA function of a more complex ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Determining If a File Exists

Before you have your macro open and read a file from disk, you'll want to check to make sure it is really there. Here's ...

Discover More

Grabbing the MRU List

Excel keeps track of the most recent workbooks you've used. If you want to access that information in a macro, you'll ...

Discover More

Avoiding Scientific Notation on File Imports

When importing information from a CSV file, you may get unintended results from time to time. Here's how to force Excel ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is two more than 3?

2025-03-15 07:20:14

Alex Blakenburg

If you open a file with an extension other than the XL* ones listed, make sure you immediately save it as an XLSX (or XLSM) workbook. The original workbook you see will still have the original file extension which will not support multiple sheets and excel formulas and formatting. Many people have lost hours of work enhancing their non-XL file only to lose it all by saving it to its original file format which only saves a single sheet without formulas or formattting.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.