+ Reply to Thread
Results 1 to 3 of 3

Programmatically determine Chart's data source

Hybrid View

  1. #1
    drussell
    Guest

    Programmatically determine Chart's data source

    I want to loop through all of the embedded charts in a workbook and determine
    the name of the source worksheet and the range of cells that make up the data
    source for each chart. What's the syntax.
    --
    dr

  2. #2
    Greg Wilson
    Guest

    RE: Programmatically determine Chart's data source

    Unfortunately, I don't believe you can do this easily. John Walkenbauch has a
    method to obtain it from the charts' SERIES formulas. See the second
    bulletted item at:

    http://www.j-walk.com/ss/excel/odd/odd15.htm

    A better way may be to maintain a relationship between charts and chart
    series and worksheet indexes.

    Regards,
    Greg




    "drussell" wrote:

    > I want to loop through all of the embedded charts in a workbook and determine
    > the name of the source worksheet and the range of cells that make up the data
    > source for each chart. What's the syntax.
    > --
    > dr


  3. #3
    Steve Drenker
    Guest

    Re: Programmatically determine Chart's data source

    DR...I recently used John Walkenbach's solution very successfully. See
    http://www.j-walk.com/ss/excel/tips/tip83.htm


    in article 815F422F-5679-421F-984B-9F33689E07EF@microsoft.com, Greg Wilson
    at GregWilson@discussions.microsoft.com wrote on 3/3/06 7:47 PM:

    > Unfortunately, I don't believe you can do this easily. John Walkenbauch has a
    > method to obtain it from the charts' SERIES formulas. See the second
    > bulletted item at:
    >
    > http://www.j-walk.com/ss/excel/odd/odd15.htm
    >
    > A better way may be to maintain a relationship between charts and chart
    > series and worksheet indexes.
    >
    > Regards,
    > Greg
    >
    >
    >
    >
    > "drussell" wrote:
    >
    >> I want to loop through all of the embedded charts in a workbook and determine
    >> the name of the source worksheet and the range of cells that make up the data
    >> source for each chart. What's the syntax.
    >> --
    >> dr




+ 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