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: Adding a Custom Format to those Offered by Excel.

Adding a Custom Format to those Offered by Excel

Written by Allen Wyatt (last updated November 25, 2023)
This tip applies to Excel 97, 2000, 2002, and 2003


When you display the Format Cells dialog box (Format | Cells) and click Custom on the Number tab, Excel displays a list of custom formats. Some of these formats are provided by Excel by default, and others reflect custom formats used within the current workbook.

If you spend some time developing a custom format, it would be helpful to have that format always appear in the list of custom formats, regardless of which workbook you are using. Unfortunately, that is not in the cards for Excel; it lists only those custom formats unique to the current workbook.

There are a couple of workarounds, however. The first is a natural extension to what is already mentioned in this tip—that the custom list includes any custom formats that have been defined in the current workbook. This means that you could replace Excel's default workbook with one of your own, and the custom format will be available in the list provided the format was defined in the workbook you saved as the default.

Sound confusing? It doesn't need to; all you need to do is start with a brand new workbook and define the custom format. Then, save the workbook as a template under the name Book.xlt, in the XLStart folder. (Just use Windows' Search tool to look locate the XLStart folder.) This file (Book.xlt) then becomes the basis for all new workbooks, which means the custom format will be available in them. It will not affect any existing workbooks.

One problem with using the default-workbook approach is that the custom format, while included in the list, is at the bottom of the list. Unfortunately, there is no way to get your own preferred set of custom formats at the top of the list. There is a quick way to get exactly the custom formats you want, however—use macros.

Seriously, you can create a macro that applies a custom format of any desired type. The macro can be stored with individual workbooks or stored in the Personal.xls workbook so it is available to all workbooks on a system. You can use shortcut keys with the macro so that the format can be applied with a single keypress, or you can assign the macro to a toolbar button or custom menu so that it can be applied using the mouse.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3096) 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: Adding a Custom Format to those Offered by Excel.

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

Easily Extending Selections

The F8 key is a shortcut that allows you to turn on Word's extend mode. This mode is used to "extend" the text being ...

Discover More

Closing Documents after a Hyperlink

When you click a hyperlink that takes you to another document, Word dutifully opens the new document in its own window. ...

Discover More

AutoCorrecting Non-Typed Text

You may need to regularly work with text that you didn't type. In those cases, you might want to use AutoCorrect to ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (menu)

Changing Fonts in Multiple Workbooks

If you need to change fonts used in a lot of different workbooks, the task can be daunting, if you need to do it ...

Discover More

Changing Cell Patterns

You can shade your cells by filling them with a pattern. Here's how to select the pattern you want used.

Discover More

Professional Looking Fractions

Professional typesetting has, in many ways, spoiled us. One way this is evident is in the preference we show for making ...

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 1 + 1?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


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.