rbachellor
New Member
- Joined
- Jan 20, 2011
- Messages
- 5
I am writing a macro that colors the entire row based on one cell's contents in that row.
It works when I match the entire cell contents using indirect
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=INDIRECT(""C""&ROW())=""[Ready to run] """
Selection.FormatConditions(1).Interior.ColorIndex = 4
Is there a way to modify this using InStr or something like that to test if the cell contains the word "Ready" and still get the same results?
Thanks
It works when I match the entire cell contents using indirect
Selection.FormatConditions.Add Type:=xlExpression, Formula1:= _
"=INDIRECT(""C""&ROW())=""[Ready to run] """
Selection.FormatConditions(1).Interior.ColorIndex = 4
Is there a way to modify this using InStr or something like that to test if the cell contains the word "Ready" and still get the same results?
Thanks