ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   count cell styles (https://www.excelbanter.com/excel-programming/272307-count-cell-styles.html)

Ecco

count cell styles
 
Hi,

ActiveWorkbook.Styles.Count will do the trick.

Ecco

-----Original Message-----
Howdy all.

Is there a way to count how many cell styles there r in a
sheet? I know Excel(2000) has a built in limitation of
4,000.

I have a macro that combines between 40-90 sheets (from
multiple workbooks) together in one workbook.
Once it reaches the limitation the macro crashes.
Therefore i need to design a counter to let me know, if
the limitation will be reached or not.

Cheers.
Russ.
.



All times are GMT +1. The time now is 07:31 AM.

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