Too Many Cell Formats- how can you count Formats?

JakeD

New Member
Joined
Jun 17, 2002
Messages
30
I have a very large file 100+sheets and am geting the "Too Many File Formats" error. I have been trying to reduce the number of formats but I don't know if my cleanup is actually reducing the number of formats in the file. Is there any way to get a count of the number of formats in a file? That way I could know how close I am to the limit of 4000 and if my cleanup is actually helping. Thanks
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
You can use the following to count the number of styles in a workbook:

MsgBox ActiveWorkbook.Styles.Count
 
Upvote 0
Thanks Al, when I run that line I only get a result of 49 bu I am still getting the error that I have too many formats. Is a Style the same as a Format? Any thoughts?
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,234
Members
452,898
Latest member
Capolavoro009

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top