I have the following table in excel:
V W X Y Z
[TABLE="width: 500"]
<tbody>[TR]
[TD]Project Date[/TD]
[TD]Modeled Line Item[/TD]
[TD]Included in Line Item[/TD]
[TD]Both[/TD]
[TD]Confirm Both[/TD]
[/TR]
[TR]
[TD]Project Date[/TD]
[TD][/TD]
[TD][/TD]
[TD]Both[/TD]
[TD]Confirm Both[/TD]
[/TR]
[TR]
[TD]Project Date[/TD]
[TD]Modeled Line Item[/TD]
[TD]Included in Line Item[/TD]
[TD]Both[/TD]
[TD]Confirm Both[/TD]
[/TR]
[TR]
[TD]Project Date[/TD]
[TD]Modeled Line Item[/TD]
[TD]Excluded Line Item[/TD]
[TD]Both[/TD]
[TD]Confirm Both[/TD]
[/TR]
[TR]
[TD]Project Date[/TD]
[TD]Modeled Line Item[/TD]
[TD]Excluded Line Item[/TD]
[TD]Both[/TD]
[TD]Confirm Both[/TD]
[/TR]
[TR]
[TD]Project Date[/TD]
[TD][/TD]
[TD][/TD]
[TD]Both[/TD]
[TD]Confirm Both[/TD]
[/TR]
[TR]
[TD]Project Date[/TD]
[TD][/TD]
[TD][/TD]
[TD]Both[/TD]
[TD]Confirm Both[/TD]
[/TR]
</tbody>[/TABLE]
I need help creating a VBA code that will highlight the rows (V:Z) a light red if Column X has Excluded Line Item.
One thing to keep in mind is that Columns V:Z all have formulas in the cells that auto fills to the end of the row so I'm not sure if that will affect the code.
Any help would be great. Thanks!
V W X Y Z
[TABLE="width: 500"]
<tbody>[TR]
[TD]Project Date[/TD]
[TD]Modeled Line Item[/TD]
[TD]Included in Line Item[/TD]
[TD]Both[/TD]
[TD]Confirm Both[/TD]
[/TR]
[TR]
[TD]Project Date[/TD]
[TD][/TD]
[TD][/TD]
[TD]Both[/TD]
[TD]Confirm Both[/TD]
[/TR]
[TR]
[TD]Project Date[/TD]
[TD]Modeled Line Item[/TD]
[TD]Included in Line Item[/TD]
[TD]Both[/TD]
[TD]Confirm Both[/TD]
[/TR]
[TR]
[TD]Project Date[/TD]
[TD]Modeled Line Item[/TD]
[TD]Excluded Line Item[/TD]
[TD]Both[/TD]
[TD]Confirm Both[/TD]
[/TR]
[TR]
[TD]Project Date[/TD]
[TD]Modeled Line Item[/TD]
[TD]Excluded Line Item[/TD]
[TD]Both[/TD]
[TD]Confirm Both[/TD]
[/TR]
[TR]
[TD]Project Date[/TD]
[TD][/TD]
[TD][/TD]
[TD]Both[/TD]
[TD]Confirm Both[/TD]
[/TR]
[TR]
[TD]Project Date[/TD]
[TD][/TD]
[TD][/TD]
[TD]Both[/TD]
[TD]Confirm Both[/TD]
[/TR]
</tbody>[/TABLE]
I need help creating a VBA code that will highlight the rows (V:Z) a light red if Column X has Excluded Line Item.
One thing to keep in mind is that Columns V:Z all have formulas in the cells that auto fills to the end of the row so I'm not sure if that will affect the code.
Any help would be great. Thanks!