Results 1 to 4 of 4
  1. #1
    Lounger
    Join Date
    Apr 2006
    Location
    Dublin, Ireland, Republic of
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    conditional format of Shapes (2003)

    I have a sheet I use to track projects. Each row has a oval shape associated with it and based on updates to the row I change the color of the oval shape to Green, Yellow or Red. This makes it very easy to identify where the project is on target etc.....

    What I was hoping to do is create an Oval and associate it with a cell, then based on the content of the cell "G,Y,R" the fill color of the oval would change appropiately.

    Any ideas on how I could do this ?

    Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: conditional format of Shapes (2003)

    You may be able to use worksheet event code.
    1) How can a shape be linked to a cell - by its position, or by its name, or ...?
    2) Will you enter the G, Y or R manually, ot will it be the result of a formula?

  3. #3
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: conditional format of Shapes (2003)

    An alternate approach that does not involve any code could be to use the technique in the example at Re: Showing Smiley Faces depending on condition (2000)

    You could create a picture of the 3 colored ovals, name them and use range names to do it. The example only used 2 pictures but it is easily exzpandable to more pictures...

    Steve

  4. #4
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: conditional format of Shapes (2003)

    An easier approach may be not to use ovals at all but to just use a cell: make the column narrow so that each cell is a square and just use cond formatting in this cell to mark the color. This would be the most direct way to do it.

    You could add a drawing of a circle/oval with no interior color with a wide enough border to make the cell look like the interior of the circle and thus creat the illusion that an oval is changing color...

    Steve

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •