Consulting

Results 1 to 4 of 4

Thread: VBA Charting Date Ranges

  1. #1
    VBAX Regular
    Joined
    Jul 2008
    Posts
    40
    Location

    VBA Charting Date Ranges

    Hi All,

    I have another problem. Take a look at the file attached; I am trying to design a charting tool that can graph up to five sets of information using combo boxes and date pickers. I would like to display a multiple line chart in another userform and have the ability to update every time a new set of information is added or taken away via the combo boxes.

    So if I select a date range between 21/11/2008 to 11/11/2009 and then selected the criteria?s from zone 1, zone 2 etc and then clicked the show graph button, the new userform would pop up and display this information in a multiple line chart.

    I would also have the ability to update the chart live, so if I went back to userform1 and selected another zone then the chart would update automatically to reflect this change.

    If it is too much to ask for this chart to be displayed in another userform, then a multiple line chart in excel, embedded on a worksheet would be fine.

    Thanks for your help.

  2. #2
    VBAX Regular
    Joined
    Jul 2008
    Posts
    40
    Location
    Hi,

    Anyone?

    Thanks.

  3. #3
    VBAX Guru Kenneth Hobs's Avatar
    Joined
    Nov 2005
    Location
    Tecumseh, OK
    Posts
    4,956
    Location
    Does the Data sheet contain a chart? I don't use 2007 so I may have lost something in the translation.

    Some useful links:
    To show 1 of 6 built charts on a userform.
    http://peltiertech.com/Excel/ChartsH...ameAChart.html

    To change the series collection for a chart on the sheet from a combobox.
    http://www.mrexcel.com/forum/showthread.php?t=354580

    You can of course combine the 2 methods above.

  4. #4
    VBAX Regular
    Joined
    Jul 2008
    Posts
    40
    Location
    Thanks for your help Kenneth.

Posting Permissions

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