Unable to Format Cells

Written by Allen Wyatt (last updated August 13, 2018)
This tip applies to Excel 97, 2000, 2002, and 2003


2

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

Combining Multiple Rows in a Column

Do you need to concatenate the contents of a range of cells in the same column? Here's a formula and a handy macro to ...

Discover More

Median of Selected Numbers

Need to find a median value in a series of values? It's easy with the MEDIAN function. What isn't as easy is to derive ...

Discover More

Keeping a Replace Operation Displayed

The Find and Replace tool is designed to help you find and replace information as quickly as possible. However, you may ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (menu)

Converting Forced Text to Numbers

If you have some numbers stored in cells that are formatted as text, you may get some surprises when you try to use those ...

Discover More

Formatting Combo Box Text

If you insert objects, such as a combo box, in your worksheet, you may need a way to modify the font used in the object. ...

Discover More

Partially Blocking Social Security Numbers

Need to protect a series of Social Security Numbers in a worksheet? The techniques provided in this tip might be a good ...

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 - 5?

2018-08-13 20:05:43

Lynn

Ray, thank you for pointing out that this web page doesn't work anymore. We are working on updating old links. The following web pages may be of some help on how to remove unwanted or unused formatting.
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


2018-08-11 18:25:22

Ray Austin

This www.j-walk.com page can’t be found
No webpage was found for the web address: http://www.j-walk.com/ss/excel/eee/eee007.txt
HTTP ERROR 404


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.