HWL
Active Member
- Joined
- Dec 1, 2009
- Messages
- 462
Excel 2007,
I'm doing a simple loop and trying to see what the formationconditions property will return but it is failing.
The error is object doesn't support this prop.
I also tried MsgBox ActiveSheet.Cells(X, y).FormatConditions.FormatCondition.Interior.Color with same error.
All I'm trying to do is get the interior color of the conditional formatted cell. Any ideas? Thanks
see: FormatConditions Object [Excel 2007 Developer Reference]
I'm doing a simple loop and trying to see what the formationconditions property will return but it is failing.
The error is object doesn't support this prop.
Where x = a dynamic row number and y = a dynamic col numberMsgBox ActiveSheet.Cells(x, y).FormatConditions.interior.color
I also tried MsgBox ActiveSheet.Cells(X, y).FormatConditions.FormatCondition.Interior.Color with same error.
All I'm trying to do is get the interior color of the conditional formatted cell. Any ideas? Thanks
see: FormatConditions Object [Excel 2007 Developer Reference]