fry
Active Member
- Joined
- Apr 25, 2007
- Messages
- 411
Hi all, and yes this is pretty basic, but then so am I!
I'm trying to insert some code into a purchase order sheet I have so that it changes the tab colour depending on the contents of one of three cells.
I have code already that does several things (thanks to help from peeps on here) so I thought I'd just pop this code in the appropriate point.............no such luck.
Can anyone help??
I'm trying to insert some code into a purchase order sheet I have so that it changes the tab colour depending on the contents of one of three cells.
I have code already that does several things (thanks to help from peeps on here) so I thought I'd just pop this code in the appropriate point.............no such luck.
Can anyone help??
Code:
for r = 11 to 13
if Cells(B,r) = "boc" Then
sh.color="blue"
End if
Next