+ Reply to Thread
Results 1 to 2 of 2

Strange Chart bug II

  1. #1
    Registered User
    Join Date
    09-20-2007
    Location
    Brooklyn, NY
    Posts
    6

    Strange Chart bug II

    This is a follow-up to a previous thread. I have found a way to reliably repro the problem! Here it is:

    Create a SS in Excel 2007 with two worksheets. On the first sheet, enter a column of data (a few rows' worth is enough). On the other sheet, define a single-cell named range "years". Now go back to the first sheet, and define a named range calling it, say, "data" as =OFFSET($B$5,0,0,years,1) (where $B$5 is the first cell of data entered, of course). Now create a "dynamic" column chart from that data range by creating a chart from the column of data then changing the series data to refer to the range "data". Play with th years number to see that indeed you have a dynamic chart at hand. Save the spreadsheet. Close the file. Re-open and check the data source of the chart series. It will read "=[0]!data" instead of "=Sheet1!data".

    I've attached an example. The problem above does not happen if the "years" range is on the same sheet as the data. However, in my app, I have several dynamic charts of the same dynamic size (not coincidentally, number of years is th parameter) with data coming from several different sheets. I have an inelegant possible work-around in mind but would really appreciate the comments and/or suggestions of the hive mind.
    Attached Files Attached Files

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Strange Chart bug II

    I sent you a private message with a possible resource for getting a definitive response to your issue. Please let us know if the get useful feedback.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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