Checking a cell's format in a function

  • Thread starter Thread starter FilJ59
  • Start date Start date
F

FilJ59

I am using conditional formatting, and one of my conditions that I would like
to use is to check another cell's fill color and format that particular cell
accordingly. Is this possible?
 
Use an User Defined Funtion to get the Color Index and use that for
Conditional Formatting.

Example UDF
Function GetColorNumber(rng As Range) As Integer
Application.Volatile
GetColorNumber = rng.Interior.ColorIndex
End Function
 
Back
Top