+ Reply to Thread
Results 1 to 2 of 2

Retrieve range of a series of a chart through macro

  1. #1
    Registered User
    Join Date
    06-23-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    1

    Retrieve range of a series of a chart through macro

    Hello,
    I am trying to add a new series in a graph through macro.

    Range of the new series is similar to the other series already plotted in the graph.
    Eg. range of series 1: A5:A20 & B5:B20
    and range of the new series will be: A5:A20 & C5:C20

    The problem is range of the series 1 is dynamic and hence I need to retrieve the range in the macro and then make necesarry changes and assign to the new series.

    I am able to retrieve only the values but not the range (A5:A20 & B5:B20).

    Does anyone know how to retrieve the range?

    Thanks

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

    Re: Retrieve range of a series of a chart through macro

    You have to decode the series formula.

    Here is some information to help do that
    http://spreadsheetpage.com/index.php..._chart_series/
    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)

Tags for this Thread

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