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

Changing Datasheet Column Width

To see information in a datasheet better, you may need to adjust column width.

Discover More

Getting Rid of Cells Containing Only Spaces

If you have a worksheet that contains a bunch of cells that contain nothing but spaces, you may be looking for a way to ...

Discover More

A Shortcut for Switching Focus

Word provides keyboard shortcuts for lots of things, but it doesn't provide one for switching to the desktop and back 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 Font Size Using a Shortcut Key

Want to adjust the font size used in a cell or range of cells? It's easy to do by using the shortcut described in this tip.

Discover More

Changing the Font Size in Combo Boxes

When you add a combo box to a worksheet, Excel makes some assumptions about the best font size to use in the control. ...

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

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.