Does anyone have a way to count the number of cells formatted a specific way?
Does anyone have a way to count the number of cells formatted a specific way?
Hi,
We can count the no. of cells containing formating .
But we should first know what type of formatting are there in the cells.
For example : Below is the VBA code to calculate the number of cells which is YELLOW in color for Range ("A1:A20")
Similar codes can be written for any other formatting present in the cells.
ThanksPlease Login or Register to view this content.
http://excelguru.iphorum.com/
Last edited by VBA Noob; 05-30-2008 at 05:10 PM.
Shijesh Kumar,
Please wrap your code next time as per forum rules below
VBA Noob
_________________________________________
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
Thanks,
I was not aware of that.
It will be taken care from the next time..
But i would like to thank you for creating such a wonderful forum
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks