+ Reply to Thread
Results 1 to 2 of 2

Graph data source spilt by column insert

Hybrid View

  1. #1
    Registered User
    Join Date
    07-29-2010
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2003
    Posts
    1

    Graph data source spilt by column insert

    I have several graphs that refer to individual worksheets that only look at a data source of 1A to 13B.

    I have VBA'd a type of automatic updating, by sorting all the data in a worksheet and then "Cut & Paste" the required column to column "B".

    However, the data source for the graph then get's chopped in half and keeps referencing the previous "B" column (which is now "C")
    So the new "B" column is not included. I have tried to reset the datasource for the Charts but because of the way excel hides things I've been unable to..

    Q): Is there a way to stop the splitting of the datasource when a cut column/row is inserted?

    Thank you

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Graph data source spilt by column insert

    Use named ranges to define the series.
    Make sure that any absolute references in the named ranges are not part of the cells you are likely to Cut+Paste over, otherwise just like the series formula the named ranges references will handle the change.
    Cheers
    Andy
    www.andypope.info

+ 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