title: Too Many Different Cell Formats
body: <ol>
  <li>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.</li>
  <li>I have recently added a new sheet and am running into the Excel <em>"Too many different cell formats"</em> problem.  </li>
  </ol>
  
  <p><em>what I have tried</em>  </p>
  
  <p>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. </p>
  
  <p>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.  </p>
  
  <p>Does anyone know</p>
  
  <ul>
  <li>of a Macro I could run to get a listing of all the cell formats and how many cells are using them?</li>
  <li>of a program they trust to help remove excess cell formats? </li>
  </ul>
  
  <p>Thanks  </p>