millhouse123
Active Member
- Joined
- Aug 22, 2006
- Messages
- 334
I am trying to determine the color of a particular cell and then formating a respective cell in another worksheet with the same color.
I have been trying to use
This cell has conditional formatting -
using the above code returns the number -4142 as the index number when I would expect it to return 6.
Does conditional formatting effect how the line of code above would work? If so how might I solve this problem.
Thanks
I have been trying to use
Code:
Frank = WS2.Cells(X, Y).Interior.ColorIndex
This cell has conditional formatting -
using the above code returns the number -4142 as the index number when I would expect it to return 6.
Does conditional formatting effect how the line of code above would work? If so how might I solve this problem.
Thanks