To get the y-range from a chart series, do I have to eliminate that from this:
Sheets(Ch_Name).SeriesCollection(i).formula
Or is there a direct method to get to X and Y range?
Getting range from a chart series
-
- BronzeLounger
- Posts: 1254
- Joined: 03 Feb 2010, 19:59
- Location: Terneuzen, the Netherlands
-
- Administrator
- Posts: 78549
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Getting range from a chart series
You have to parse the Formula (or FormulaR1C1) property of the series. Although you can set the XValues and Values properties of the series to a range, the result is always an array.
Best wishes,
Hans
Hans