Larry -
> This correctly places
> ={"=Data!A2:A82"}
> in Source Data | Series | X Values:
This is actually placing a one-item array in the X Values box,
consisting of the string "=Data!A2:A82". Your Y values consist of a
single zero in brackets, because Excel had to coerce it to a number for
the Y values, and it always uses zero for text.
change your code to:
strDataXValues = "Data!" & g_strRangeSeries
ActiveChart.SeriesCollection(1).XValues = Range(strDataXValues)
or
ActiveChart.SeriesCollection(1).XValues = _
worksheets("Data").Range(g_strRangeSeries)
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
http://PeltierTech.com/Excel/Charts/
_______
> Hello --
>
[quoted text clipped - 25 lines]
>
> Larry Mehl
L Mehl - 01 Feb 2004 17:28 GMT
Hi Jon --
Thank you for explaining it, and for the suggestions.
Larry.
> Larry -
>
[quoted text clipped - 53 lines]
> >
> > Larry Mehl