F
francois
Hello !
I have defined a name whithin excel which I have called data. This
names is a three column data (say; Time, A1, A2)
I have created a form in VBA and created a chart with the MSchart
active X. The ode goes like that:
I have used the XY scatter chart type
Private Sub MSChart1_OLEStartDrag(Data As MSChart20Lib.DataObject,
AllowedEffects As Long)
MSChart1.ChartData = Names("Data").RefersToRange.Value
MSChart1.Refresh
End Sub
When I open the form the data from the defined "Data" do not show.
I have found lots of stuff on MsCHart for VB but not so much for VBA.
Thanks all.
Francois
I have defined a name whithin excel which I have called data. This
names is a three column data (say; Time, A1, A2)
I have created a form in VBA and created a chart with the MSchart
active X. The ode goes like that:
I have used the XY scatter chart type
Private Sub MSChart1_OLEStartDrag(Data As MSChart20Lib.DataObject,
AllowedEffects As Long)
MSChart1.ChartData = Names("Data").RefersToRange.Value
MSChart1.Refresh
End Sub
When I open the form the data from the defined "Data" do not show.
I have found lots of stuff on MsCHart for VB but not so much for VBA.
Thanks all.
Francois