accessuserit
Programmer
If in my chart i have two value(row of data) the script work correctly, else i receive a error msg.
This is the script:
_____________________________________________________
Private Sub cmdAddLabels_Click()
With Mychart.SeriesCollection(1).Points(1)
.HasDataLabel = True
.DataLabel.Text = ("A"
End With
With Mychart.SeriesCollection(1).Points(2)
.HasDataLabel = True
.DataLabel.Text = ("B"
End With
End Sub
____________________________________________________
Help me to bypass this error!
Thanks
Paul
This is the script:
_____________________________________________________
Private Sub cmdAddLabels_Click()
With Mychart.SeriesCollection(1).Points(1)
.HasDataLabel = True
.DataLabel.Text = ("A"
End With
With Mychart.SeriesCollection(1).Points(2)
.HasDataLabel = True
.DataLabel.Text = ("B"
End With
End Sub
____________________________________________________
Help me to bypass this error!
Thanks
Paul