+ Reply to Thread
Results 1 to 4 of 4

How to plot pie chart(s) with click of button and set limits?

  1. #1
    Registered User
    Join Date
    06-08-2008
    Posts
    36

    How to plot pie chart(s) with click of button and set limits?

    Hi,

    A snap shot of this excel file. End of the day, I want to display the man hour for each task in the Pie Chart

    I have a few issues here.. I want to
    1) Plot the pie chart as shown in the file when i click on a button. Is there a script for it beside me recording a marco? (with the chart name set as well)

    2) Is there a way i can set the max limit to the pie chart? The max hour should be 40.. The way i am doing now is to pre-define the '40' and minus away those hours used.

    3) If there are multiple entires for a same task, can the pie chart shows a combined value instant of showing two?

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: How to plot pie chart(s) with click of button and set limits?

    Hi there,

    The attached workbook might serve as a starting point for what you require. If you need to modify it (e.g. not display tasks with zero hours, change task descriptions from day to day etc.) please let me know what sorts of things you're looking for.

    Hope this helps - please let me know how you get on.

    Regards,

    Greg M
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    06-08-2008
    Posts
    36

    Re: How to plot pie chart(s) with click of button and set limits?

    Hi Greg,

    I understand the concept.. thanks.

    But is there way for the pie chart not to show any Zero value task?

    Regards,

  4. #4
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: How to plot pie chart(s) with click of button and set limits?

    Hi again,

    The attached workbook contains code which suppresses the display of tasks which have zero Man.Hours allocated to them. The chart title also updates automatically in accordance with the date entered in cell B3.

    Hope this helps - please let me know how you get on.

    Regards,

    Greg M
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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