Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Function CountByColor(CellColor As Range, CountRange As Range) Application.Volatile Dim ICol As Integer Dim TCell As Range ICol = CellColor.Interior.ColorIndex For Each TCell In CountRange If ICol = TCell.Interior.ColorIndex Then CountByColor = CountByColor + 1 End If Next TCell End Function
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Need Assistance Implementing ShockWaveFlash Object in Excel VBA||3||25|
|need count numbers IN ranges||25||30|
|VBA error subscript out of range help||5||29|
|replace blank cells with 0 starting with a specific column until no more data Excel VBA||2||7|
Join the community of 500,000 technology professionals and ask your questions.