grayson1231
New Member
- Joined
- Feb 23, 2014
- Messages
- 14
All,
I'm in need of help on how to conditional format shapes based on a cell reference.
For example, let's assume I have a shape titled "LF" - what kind of code would be used if I want the shape "LF" to color code based on the number in cell A1.
if A1 >= 10 then color shape should be red
if A1 <= 9 then the color shape should be yellow
Can VBA accomplish something like this automatically without having to click a form button of any sort? I've been learning and getting better with VBA but this one has me completely stumped! Please help if possible!
I'm in need of help on how to conditional format shapes based on a cell reference.
For example, let's assume I have a shape titled "LF" - what kind of code would be used if I want the shape "LF" to color code based on the number in cell A1.
if A1 >= 10 then color shape should be red
if A1 <= 9 then the color shape should be yellow
Can VBA accomplish something like this automatically without having to click a form button of any sort? I've been learning and getting better with VBA but this one has me completely stumped! Please help if possible!