+ Reply to Thread
Results 1 to 2 of 2

Excel VBA to Update Chart Source Data

  1. #1
    Registered User
    Join Date
    11-27-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2007
    Posts
    7

    Excel VBA to Update Chart Source Data

    I need help creating the VBA to set the source data for a graph I have created. The data range for this graph changes based on a pivot table and so I need the source data to change dynamically when the data is filtered. I have identified code that will give me the correct source data range:

    Please Login or Register  to view this content.
    Now I need the code that will actually use this range to update the graphs source data. I have attached a sample file. Unfortunately I cannot use dynamic named ranges since all of the series do not have data points for the dates on the x-axis. Also I cannot use a PivotChart because I need this file to be compatible with Excel 2011 for Mac, which does not support Pivot Charts. Any help you can provide with this is greatly appreicated. Thanks!

  2. #2
    Registered User
    Join Date
    11-27-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Excel VBA to Update Chart Source Data

    Here is sample file
    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)

Tags for this Thread

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