+ Reply to Thread
Results 1 to 3 of 3

Select a shape based on a cell value and update the shape when value changes

  1. #1
    Registered User
    Join Date
    12-13-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Select a shape based on a cell value and update the shape when value changes

    Hello,

    I am trying to create a Gantt chart without using conditional formatting. On my worksheet named wksMain, I have a rows for tasks where the start month is selected from a drop-down box. The end month is also selected via a drop-down box. I am also calculating the duration for each task. For example, if start month is Jan 2014 and the end month is Mar 2014, then the duration in 3.

    I have 12 shapes on another sheet named, wksShapes. Based on the value 3 from the noted example above, I want to be able to select Shape3 from the wksShapes sheet and place it in the column for the start month on the wksMain sheet. If the start month for the task is changed to Feb 2014 and the end month is also changed to Nov 2014 for example, the duration changes to 10 and I need the shape to change to Shape10 and appear in the start column, Feb 2014.

    Any help is appreciated. Thanks.

  2. #2
    Registered User
    Join Date
    12-12-2013
    Location
    Southeast Michigan, U.S.A.
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    4

    Re: Select a shape based on a cell value and update the shape when value changes

    Have you tried adding VLOOKUP to your duration formula to transform the number to a shape?

  3. #3
    Registered User
    Join Date
    12-13-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Select a shape based on a cell value and update the shape when value changes

    I need the shape to show up in the start month so I tried using a VLOOKUP in the month columns but simply get '0' as a result.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Automatically bringing a Shape into a Cell Using Shape Code
    By dineshtendulkar in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-16-2016, 02:25 PM
  2. [SOLVED] Insert Diamond Shape for every Row and add cell value to each shape
    By bcn1988 in forum Excel Programming / VBA / Macros
    Replies: 34
    Last Post: 04-02-2013, 10:10 AM
  3. Replies: 0
    Last Post: 11-30-2012, 01:29 PM
  4. Shape size based on text in shape
    By mwc48910 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-23-2011, 05:43 AM
  5. delete shape that has same shape name a cell
    By beatrice25 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-16-2009, 03:05 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1