Public Function CellColor(row As Integer, col As Integer) As Long
CellColor = Cells(row, col).Interior.ColorIndex
Open in new window
Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.
Public Function CellColor(rng As Range) As Long
CellColor = Cells(rng.row, rng.Column).Interior.ColorIndex
Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)