+ Reply to Thread
Results 1 to 4 of 4

Count cell formatting

  1. #1
    Forum Contributor
    Join Date
    06-21-2006
    MS-Off Ver
    2007
    Posts
    141

    Count cell formatting

    Does anyone have a way to count the number of cells formatted a specific way?

  2. #2
    Valued Forum Contributor Shijesh Kumar's Avatar
    Join Date
    05-26-2008
    Location
    Bangalore / India
    MS-Off Ver
    2000
    Posts
    717
    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.
    Please Login or Register  to view this content.
    Thanks

    http://excelguru.iphorum.com/
    Last edited by VBA Noob; 05-30-2008 at 05:10 PM.

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    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 !!!

  4. #4
    Valued Forum Contributor Shijesh Kumar's Avatar
    Join Date
    05-26-2008
    Location
    Bangalore / India
    MS-Off Ver
    2000
    Posts
    717
    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1