Unable to Format Cells

Written by Allen Wyatt (last updated May 18, 2024)
This tip applies to Excel 97, 2000, 2002, and 2003


Bill has a large worksheet that he can no longer format cells within. When he right-clicks on a cell and selects Format, the Format Cells dialog box never appears. Likewise, if he chooses Cells from the Format menu, the dialog box never shows up.

This, obviously, is not the way that Excel is supposed to behave. Since the problem occurs with only a single workbook, the problem is most likely not with Excel itself, but with the workbook. There are a few things you can try to track down the problem.

First, make sure that you open the workbook with macros disabled. Hold down the Shift key as you double-click the workbook in Windows Explorer, then indicate that you don't want to enable the macros. If the problem persists, you can rule out it being rooted in a macro. If the problem goes away, then you know you need to examine the macros to see which one is causing the problem.

Second, the file (which Bill mentions is both old and large) could have so many formats defined within it that you can no longer do formatting. This problem has been covered in other issues of ExcelTips, and you can find related information, including a way to free up formats, here:

https://bettersolutions.com/excel/formatting/vba-delete-unused-custom-formats.htm
https://answers.microsoft.com/en-us/office/forum/office_2007-excel/delete-custom-formats/23d6727c-d052-e011-8dfc-68b599b31bf5?db=5

Look for the macro entitled DeleteUnusedCustomNumberFormats; it can help clean up the no-longer-used custom formats.

Another thing to try is to save the worksheet as an HTML file, get out of Excel, get back into the program, and then load the HTML file. Sometimes the "round trip" for a worksheet will clear up some quirks that may be confusing Excel.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3344) applies to Microsoft Excel 97, 2000, 2002, and 2003.

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

Jumping to Text in Worksheet from an Index

In putting together a workbook, you may develop a worksheet that acts as an index, to contain links that lead to other ...

Discover More

Dates with Periods

You may want Excel to format your dates using a pattern it doesn't normally useâ€"such as using periods instead of ...

Discover More

Removing Everything Except Duplicates

Excel includes a built-in tool that will remove duplicate rows from a worksheet. If you want to remove non-duplicate ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (menu)

Stopping Fractions from Reducing

Enter a fraction into Excel, and you may be surprised that the program reduces the faction to its simplest form. If you ...

Discover More

Understanding Date and Time Formatting Codes

Want to apply a custom format to your dates and times? To do it effectively you need to understand the custom formatting ...

Discover More

Formatting Raw Data

When you get a bunch of raw data into Excel from an external source, it isn't going to be formatted to your liking. The ...

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 seven less than 8?

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.