Consulting

Results 1 to 3 of 3

Thread: Extending chart series range

  1. #1
    VBAX Newbie
    Joined
    Mar 2010
    Posts
    2
    Location

    Extending chart series range

    Hi everyone,

    I am trying to design a macro that will extend the series range of the data used in a line chart by one column.

    Basically, I have multiple workbooks open, each with multiple sheets, with each sheet containing multiple graphs, with each chart containing multiple series. I really need a macro that will loop through every graph (there's about 200 of the things) extending the data series by one column when I receive a new months data (the x-axis does not need to change). The data is stored in qute an illogical format in tables scattered around another workbook so the macro really just needs to add one to the columns being considered (the data ponts are stored from left to right in one row per series)

    I'm quite new to VBA but I think I have managed to piece together the looping through workbooks, then sheets, then charts part but come unstuck on the charts themselves.

    And any macro must work in Excel 2003!

    Any help will be really apreciated!

    Thanks

    Dave

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Can you post a simple workbook with say two sheets, two grapsh per, with data and your code so far?
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Newbie
    Joined
    Mar 2010
    Posts
    2
    Location
    Attached is a 3 sheet book, 2 sheets with graphs and one with data. I am trying to expand (or subtract) the series range by one column for both graphs.

    Thanks

    Dave
    Last edited by david_t; 03-31-2010 at 01:26 PM. Reason: didn't attach file

Posting Permissions

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