+ Reply to Thread
Results 1 to 8 of 8

Creating a circle/ellipse at a specific cell (as pictured inside)

  1. #1
    Registered User
    Join Date
    09-08-2014
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    4

    Creating a circle/ellipse at a specific cell (as pictured inside)

    Hello everyone,

    I'm working on a thermometer-style goalpost, and it's pretty much done, however, I need to know how to make it look like this at the end:

    therm.JPG

    Based on the number of monthly tasks, my macro creates the thermometer but I'm having trouble figuring out how to attach the bulb at this precise location when the variable-height thermometer is finished drawing. I want it to land pretty much at the bottom of Task 1's cell.

    Any help would be appreciated, thank you!

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,809

    Re: Creating a circle/ellipse at a specific cell (as pictured inside)

    I'm not exactly sure how you are creating the thermometer chart. To add the bulb, I would suggest you follow Andy Pope's outline here: http://andypope.info/charts/thermometer.htm
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    09-08-2014
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    4

    Re: Creating a circle/ellipse at a specific cell (as pictured inside)

    Quote Originally Posted by MrShorty View Post
    I'm not exactly sure how you are creating the thermometer chart. To add the bulb, I would suggest you follow Andy Pope's outline here: http://andypope.info/charts/thermometer.htm
    I'm interning at a company, and I have to follow the exact style they are already creating manually, though those that you linked are pretty damn cool.

    EDIT: It's not a chart, it's a series of bordered and numbered cells, with formatting based on whether or not the task number represents 80% for the week.
    Last edited by vbaDunce; 09-08-2014 at 10:49 AM.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,809

    Re: Creating a circle/ellipse at a specific cell (as pictured inside)

    I think the reason I suggested Andy's examples is because it would be easier to put a circle at the bottom of a chart than at the bottom of a block of cells.

    Does the "bulb" of your thermometer have to be a circle? Since cells are rectangles, it seems to me that it would be pretty easy to put a rectangular bulb at the bottom of the "chart" when made in the spreadsheet like this. You could use the cells around the bottom cell to color a larger "block" than the column of the thermometer.

    If it must be a circle/ellipse, I expect you have to use some kind of drawing object/text box combination. I never really use drawing objects like this in Excel, so it seems like this would be the most difficult approach.

  5. #5
    Registered User
    Join Date
    09-08-2014
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    4

    Re: Creating a circle/ellipse at a specific cell (as pictured inside)

    I totally agree that making it a rectangle or square would be far more convenient and easier to implement.

    Unfortunately, it's gotta be a circle. I've figured how to actually draw a circle with vba, working on its positioning based on the very last cell drawn in my loop structure.

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,809

    Re: Creating a circle/ellipse at a specific cell (as pictured inside)

    At this point, you probably know more than I do about drawing and placing circles in a spreadsheet than I do, then.

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,428

    Re: Creating a circle/ellipse at a specific cell (as pictured inside)

    something like the following

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  8. #8
    Registered User
    Join Date
    09-08-2014
    Location
    Canada
    MS-Off Ver
    2013
    Posts
    4

    Re: Creating a circle/ellipse at a specific cell (as pictured inside)

    Thanks Andy,

    That was exactly what I needed!

+ 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. Replies: 4
    Last Post: 12-17-2012, 11:45 PM
  2. [SOLVED] Count specific text inside the cell
    By Solomon14all in forum Excel General
    Replies: 6
    Last Post: 10-30-2012, 06:08 AM
  3. Drawing an ellipse from cell data
    By Stoolie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-03-2011, 04:03 PM
  4. Form a circle (ie. color specific cells) given specific radius
    By David in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-11-2006, 11:00 AM
  5. [SOLVED] Form a circle (ie. color specific cells) given specific radius
    By David in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-03-2006, 11:50 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