Ideally, I want to avoid conditional formatting so that I can apply this. Ideally a custom Formula
So above in C1 it is simply =A2
I would like to have USER formula to get the color interior of A2 and apply it to cell C2
How do I go about this?
I found this to extract the color as a decimal
So above in C1 it is simply =A2
I would like to have USER formula to get the color interior of A2 and apply it to cell C2
How do I go about this?
I found this to extract the color as a decimal
but the above function won't work if there is data in the cell it's getting the color from. But then I don't know how to use that color to apply to another cell.Function MyBackgroundColor(cell As Range)
MyBackgroundColor = cell.Interior.Color
End Function