Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Multiple SeriesCollection Selection

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default Multiple SeriesCollection Selection

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/
_______

Sunryzz wrote:

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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SeriesCollection question EAB1977 Charts and Charting in Excel 2 December 22nd 08 02:29 PM
SeriesCollection Varun[_2_] Excel Programming 1 July 28th 04 01:49 AM
VBA- SeriesCollection(1).Value error crossplatform Excel Programming 3 April 12th 04 04:27 PM
VBA- SeriesCollection yusoon[_3_] Excel Programming 1 April 8th 04 10:38 AM
calliing seriescollection by name R.VENKATARAMAN Excel Programming 2 January 14th 04 07:15 AM


All times are GMT +1. The time now is 09:07 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"