This is a migrated thread and some comments may be shown as answers.

How to give background colour to a picturebox based on the values of another column???

1 Answer 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
HAREE
Top achievements
Rank 1
HAREE asked on 20 Dec 2011, 12:21 PM
Hi,

Can you please let me know how to give background colour to a picture box based on the values of another column??? 
Either by formatting rules (which I tried) or by VB code..

For instance, background colour = red  if the value is 0 
                      background colour = green if the value is 1

Thanks.

1 Answer, 1 is accepted

Sort by
0
HAREE
Top achievements
Rank 1
answered on 20 Dec 2011, 07:26 PM
Hi

I solved it on my own, Thanks.
Tags
General Discussions
Asked by
HAREE
Top achievements
Rank 1
Answers by
HAREE
Top achievements
Rank 1
Share this question
or