×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Object Color Based on Cell Value w/out VBA

Object Color Based on Cell Value w/out VBA

Object Color Based on Cell Value w/out VBA

(OP)
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

RE: Object Color Based on Cell Value w/out VBA

see if conditional formatting will help...

Dik

RE: Object Color Based on Cell Value w/out VBA

VBA required for this I'm pretty sure.

RE: Object Color Based on Cell Value w/out VBA

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)' ?

RE: Object Color Based on Cell Value w/out VBA

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)' ?

RE: Object Color Based on Cell Value w/out VBA

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)' ?

RE: Object Color Based on Cell Value w/out VBA

Should have added another cell... you can use conditional formatting for text colour, style, etc.

Dik

RE: Object Color Based on Cell Value w/out VBA

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

=====================================
(2B)+(2B)' ?

RE: Object Color Based on Cell Value w/out VBA

oops...

Dik

RE: Object Color Based on Cell Value w/out VBA

(OP)
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources