Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Aloha,
I'm trying to count the number of cells that have been colored pink (color index = 38) using a conditional format. I created the following VB function: Function CCC (myRef As Range, myRange As Range) As Long Dim Count As Long Application.Volatile Count = 0 For Each Cell In myRange If myRef.Interior.ColorIndex = 38 Then Count = Count + 1 End If Next Cell CCC = Count End Function but it doesn't seem to be working with the conditional formating functionality. How can I adjust this? -- Mahalo, Island girl Excel user |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Conditional Formats, how to scroll and view all formats? | Excel Worksheet Functions | |||
Counting Formats | Excel Worksheet Functions | |||
Counting Conditional Formats | New Users to Excel | |||
Conditional formats- paste special formats? | Excel Discussion (Misc queries) | |||
paste conditional formats as formats | Excel Discussion (Misc queries) |