Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Using Your Own File Extensions.

Using Your Own File Extensions

by Allen Wyatt
(last updated April 7, 2012)

1

By default, Excel uses an XLS extension for all workbook files. If you don't want to use the default file extension for a workbook you are saving, you can pick something different. (You may want to use a different extension if you are trying to hide the fact that the file is an Excel workbook.)

If you try to use a different file name extension by including it when you save the file, Excel still appends the XLS extension. For instance, if you explicitly save a file as MyFile.mef, Excel will still save it as MyFile.mef.xls.

If you don't want Excel to do this, then simply enclose your file name in quotes when you save under a new name. Thus, you would use the name "MyFile.mef" (with the quotes) and that is the file name which Excel will use.

In addition, if you save a workbook with a different extension (not one of the defaults used by Excel), then Excel won't show the workbook by default when you use the Open command. To see all your varied-extension files, you need to follow these steps:

  1. Displays the Open dialog box.
  2. In the File Name field, enter an asterisk, period, and your desired extension. For instance, you could enter "*.mef" (without the quotes).
  3. Press Enter. The desired files should be listed in the directory.
  4. Select the file you want to open.
  5. Click on Open.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2228) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Using Your Own File Extensions.

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

Getting Input from a Text File

You can use a macro to read information from a text file. The steps are easy, and then you can use that information in any ...

Discover More

Rows in a PivotTable

PivotTables are used to analyze huge amounts of data. The number of rows used in a PivotTable depends on the type of analysis ...

Discover More

Signing a Protected Form

Tablet PCs are great for some uses, such as signing forms developed in Word. You may run into a problem with getting the ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More ExcelTips (menu)

Full Path Names in Excel

Need to know what the full path name is for the current workbook? With a simple macro you can display the full path name in ...

Discover More

Saving Worksheets in Lotus 1-2-3 Format

You can export an Excel worksheet in a variety of formats. One of those formats is Lotus 1-2-3, which is available as an ...

Discover More

Reducing File Size

As you work with a workbook (particularly one that contains macros) you may notice that the workbook size can become quite ...

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}] in your comment text. You’ll be prompted to upload your image when you submit the comment. 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 7 + 5?

2012-04-08 00:37:04

Juan

I am amazed that this can be done, wow!!


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon 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.