+ Reply to Thread
Results 1 to 4 of 4

Updating a chart as a worksheet is updated

  1. #1
    Registered User
    Join Date
    06-25-2007
    Posts
    2

    Updating a chart as a worksheet is updated

    Hi all, I have created a line chart using stock data from existing data within a worksheet. What I would like to do is add data to the worksheet and have the chart automatically include this data within the chart. Currently, I have to manually go into the chart and change the data range. As I have many charts to change this can take a lot of time. If I add blank cells to the data range within the chart then the chart includes this range makiing it a small chart with lots of space on the right side. I'm using Office 2007 and thanks for any suggestions!

  2. #2
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by psheridan050
    Hi all, I have created a line chart using stock data from existing data within a worksheet. What I would like to do is add data to the worksheet and have the chart automatically include this data within the chart. Currently, I have to manually go into the chart and change the data range. As I have many charts to change this can take a lot of time. If I add blank cells to the data range within the chart then the chart includes this range makiing it a small chart with lots of space on the right side. I'm using Office 2007 and thanks for any suggestions!
    Hi,

    Until you become proficient enough in VBA programming to automatically adjust multiple charts, the easy way is probably to set your charts up to the maximum range of columns that will be required, and Hide those columns not yet used. Setting the chart to 'visible' figures only will reduce the display to those columns with figures.

    To add new figures simply unhide the next column and enter your figures.

    hth
    ---
    Si fractum non sit, noli id reficere.

  3. #3
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243
    hi,

    Another option is the use of "dynamic named ranges" which I have used successfully, see the below link for some instructions involving the use of Offset & count functions which I found after entering the above phrase into Excel Online Help.

    HTML Code: 
    This works very well when maintained within the original workbook but the named ranges can cause problems if charts are copied from workbook to workbook.

    Bryan/others, do you have any other negatives which may impact through the use of named ranges?

    hth
    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  4. #4
    Registered User
    Join Date
    06-25-2007
    Posts
    2
    thanks guys for the info. ill look into these suggestions and incorporate them into my charts

+ 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