Multiple SeriesCollection Selection

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have this piece of code:

ActiveChart.SeriesCollection(1).DataLabels.Select

I would like to know if it is possible to change the line so it would select
multiple SeriesCollections at once. Is there something like a
SeriesCollection(all) or (*) or...

Thanks
 
You can't do it as you want, in a single statement. But it is easy enough to write a
loop:

Dim Srs as Series

For Each Srs In ActiveChart.SeriesCollection
Srs.DataLabels.Font.ColorIndex = 3
Next Srs

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top