Too Many Different Cell Formats

Posted by Craig on Stack Overflow See other posts from Stack Overflow or by Craig
Published on 2010-03-15T19:10:35Z Indexed on 2010/03/15 20:49 UTC
Read the original article Hit count: 577

Filed under:
|

I have a massive file with 10 sheets recreated from scratch, 12 sheets updated, 5 sheets loaded with raw data, and 7 sheets that are used by the macros for the report. I have recently added a new sheet and am running into the Excel "Too many different cell formats" problem.
I have read some of the google search results and they say I should simplify the formatting, but I don't even know how I got up to 4000 distinct cell formats, let alone how much I'm using which ones, so I can remove some. It is also popping up some times the file is run, but not all, until such time as it comes up, and then it happens every time it is run. Since the macro is doing so much of the work, including creating the 10 sheets from scratch, I am not sure what to do.
Does anyone know of a Macro I could run to get a listing of all the cell formats and how many cells are using them?
Does anyone know of a program they trust to help remove excess cell formats?
Thanks,
Craig

© Stack Overflow or respective owner

Related posts about excel

Related posts about excel-2003