ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Counting unique formats in a workbook (https://www.excelbanter.com/excel-programming/420529-counting-unique-formats-workbook.html)

MWS123

Counting unique formats in a workbook
 
I'm trying to clean up a workbook which has too many formats in it. Is there
a way of counting how many unique formats exist in each worksheet? I'd like
to know how many formats per sheet so that I can make a better decision on
which ones to clean up first.

Regards,

Mike

galimi

Counting unique formats in a workbook
 
Excellent question (which I don't have the answer to). Here is what I would
do.

Cycle through all the sheet objects in the workbook, cycling through the
usedrange objects and inspecting the numberformat cell.
--
http://www.ExcelHelp.us

888-MY-ETHER ext. 01781474



"MWS123" wrote:

I'm trying to clean up a workbook which has too many formats in it. Is there
a way of counting how many unique formats exist in each worksheet? I'd like
to know how many formats per sheet so that I can make a better decision on
which ones to clean up first.

Regards,

Mike



All times are GMT +1. The time now is 10:12 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com