Supertension
New member
- Local time
- Today, 18:29
- Joined
- Dec 16, 2015
- Messages
- 13
Hi, I have a classic chart in an access form and am trying to get a list of the names of the data series. I've pasted my code below and have marked where get an error. Can someone tell me what I am doing wrong?
If I happen to know the name of a data series, I can access it. For example, cht.SeriesCollection("DAS2").Border.Color = vbBlue works ok.
The reason I need all the data series names is so that I can make changes such as line colour, line type, line weight, etc based on the occurrence of certain characters and their positions in the series name. I could work everything out without being able to list the names but it will make debugging much simpler as I need to make many dynamic changes to what data I plot.
Thank you.
If I happen to know the name of a data series, I can access it. For example, cht.SeriesCollection("DAS2").Border.Color = vbBlue works ok.
The reason I need all the data series names is so that I can make changes such as line colour, line type, line weight, etc based on the occurrence of certain characters and their positions in the series name. I could work everything out without being able to list the names but it will make debugging much simpler as I need to make many dynamic changes to what data I plot.
Thank you.