NoxGalleon106
New Member
- Joined
- Oct 15, 2016
- Messages
- 29
Hi,
I have a spreadsheet that needs to highlight cell on column A if column D is >=20 and column O does not contain “TOR”.
My current codes are below but its not capturing the condition for column O. Can you help me correct my codes?
Range (“A4”). End(xldown).activate
Do until activecell.row= 3
Activecell.offset(-1,0).select
If activecell.offset(0,3).value >= 20 and activecell.offset (0,14).value <> “*TOR*” then
Activecell.interior.color= rgb (192,224,128)
End if
Loop
I have a spreadsheet that needs to highlight cell on column A if column D is >=20 and column O does not contain “TOR”.
My current codes are below but its not capturing the condition for column O. Can you help me correct my codes?
Range (“A4”). End(xldown).activate
Do until activecell.row= 3
Activecell.offset(-1,0).select
If activecell.offset(0,3).value >= 20 and activecell.offset (0,14).value <> “*TOR*” then
Activecell.interior.color= rgb (192,224,128)
End if
Loop