Add an Excel chart for the selected data

fotini

Active member
Joined
Jun 3, 2003
Messages
39
I want to create a chart from an Excel File

Problem:

I use the following code:
Code:
Dim oSeries As Excel.Series
oSeries.XValues = oSheet.Range("A2", "A17")
to define the values of the Axis X but, whereas these cells contain
datetime values, on the created chart, on the axis x, I take simple
numbers 1 2 3 4 5...

Where am I wrong?

Please help me.
 
Back
Top