Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Object Color Based on Cell Value w/out VBA

Status
Not open for further replies.

pmover

Mechanical
Sep 7, 2001
1,507
I was driving home today and thought of changing an object's color based on cell value (number - integer) without VBA. I've not investigated (yet!), but is there a method to accomplish this without VBA? I am aware of the conditional format for cells, but what about object? thanks!
-pmover
 
Replies continue below

Recommended for you

see if conditional formatting will help...

Dik
 
I agree with MintJulep (at least in my version of excel 2003).

I created a box. Then I selected it.
Then I selected from top of screen "Format"... the conditional formatting dialog was grayed out (it's not grayed out when a cell is selected instead of an object).

Then I right-clicked the box for formatting options... no conditional options.

Out of curiostiy - why not vba? Personal preference to avoid vba in general or some other reason?


=====================================
(2B)+(2B)' ?
 
Also, what kind of object do you have in mind. Some have special capabilities.

One that comes to mind is the checkbox from the forms menu. Can easily be tied to change state based on cell contents with no vba. There are of course other forms objects that link, but we're still not sure what it is you are trying to do.


=====================================
(2B)+(2B)' ?
 
Here's an interesting trick. Put a rectangle on your spreadsheet. Click on the rectangle to select it. Then in the edit formula box (on top of screen) type = M3
(where M3 is a cell address). The contents of cell M3 will display in text within your rectangle. Change M3 and the rectangle text will update. However any conditional formatting applied to M3 does not show up on the associated text of the rectangle.


=====================================
(2B)+(2B)' ?
 
Should have added another cell... you can use conditional formatting for text colour, style, etc.

Dik
 
op said "I am aware of the conditional format for cells". Are you showing something different than conditional formatting for cells?

=====================================
(2B)+(2B)' ?
 
electricpete,
i've known about that feature for years as i use it for charts.

my suspicions are that it cannot be done without VBA. thanks MintJulep.

-pmover
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor