View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Ed Hamilton Ed Hamilton is offline
external usenet poster
 
Posts: 2
Default Obtaining Series Name and X/Y Value Ranges for Charts

In a VB application I'm trying to obtain the x and y data ranges for each
member of the seriescollection on a floating chart.

In my test case I can identify all the way down to the
SeriesCollection.count and then identify each of the four series by name
(Q1,Q2,Q3,Q4). I thought I had the code for obtaining the values of the
Series but keep getting an error.

The code I can't get is:

ActiveChart.SeriesCollection(1).xvalues

and it passes the "Run-time error '13': Type Mismatch"

Any ideas would be appreciated as it seems this is the correct code.

Ed