VBA code for 5-rule Conditional Format

A

Antonio

Would anyone have a VBA code for a macro that changes the color of a cell
according to 5 different rules? If the cell is <=59 the cell becomes blue,
if it’s <=69 it becomes green, if it’s <=79 it becomes yellow, if it’s <=89
it becomes orange and if it’s <=100 it becomes black.
Thanks
 
B

Bob Phillips

.... and my last follow-up

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)



Would anyone have a VBA code for a macro that changes the color of a cell
according to 5 different rules? If the cell is <=59 the cell becomes blue,
if it’s <=69 it becomes green, if it’s <=79 it becomes yellow, if it’s
<=89
it becomes orange and if it’s <=100 it becomes black.
Thanks

See your prior post.
http://groups.google.com/group/micr...8076916e352/cbe3a1be83ddc6d9#cbe3a1be83ddc6d9
 
A

Antonio

Sorry, but it hasn't worked. It changes the color of the cell at the first
time, but if the reference value changes it won't change the color of the
cell accordingly.

The structure is: B1 changes its color according to a value that's present
in A1 (1 to 5).

Values in A1 change according to an If function related to values in C1. So,
whenever C1 changes, A1 values change as well, and I expected the color of B1
to change accordingly, but that's not happening. Don't know how to solve it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top