I'm trying to figure out through VBA how to identify the series title of a series on a chart on my form. If I find the right title, I'm trying to change the chart type. Apparently access defaults to alphabetically organizing the table field in which the chart is referring to as the series.
I cannot find the property in which the title of the seriescollection lies. Obviously there are other ways around this, however I'd like to know if there is an easy way to find it.
Code:
srstitle = "thisone"
For Each srs In screen.activeform.graph1.seriescollection
If srs.name = srstitle Then
'Other code
End If
Next srs
Anybody know the correct syntax?