Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Series reference on a chart


I'm trying to reference a series on a chart with seriescollection(). Ho
can I find out what the index number of the series is? I've tried usin
the name of the series, but I can't seem to get it to work

--
kev_0
-----------------------------------------------------------------------
kev_06's Profile: http://www.excelforum.com/member.php...fo&userid=3504
View this thread: http://www.excelforum.com/showthread.php?threadid=56389

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 747
Default Series reference on a chart

Example:

Sub GetChartSeries()
Dim s As Series
Dim cht As Chart
Set cht = ActiveSheet.ChartObjects(1).Chart
Set s = cht.SeriesCollection("Sales Data")
s.Border.ColorIndex = 5
s.Fill.ForeColor.SchemeColor = 5
End Sub

Regards,
Greg

"kev_06" wrote:


I'm trying to reference a series on a chart with seriescollection(). How
can I find out what the index number of the series is? I've tried using
the name of the series, but I can't seem to get it to work.


--
kev_06
------------------------------------------------------------------------
kev_06's Profile: http://www.excelforum.com/member.php...o&userid=35046
View this thread: http://www.excelforum.com/showthread...hreadid=563898


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
User Selectable Series and Number of Series for Line Chart Dave in NJ Charts and Charting in Excel 2 February 23rd 09 12:18 AM
how to plot column chart with one series against multiple series. svenkateshmurthy Charts and Charting in Excel 2 October 16th 07 09:09 PM
how do I define a chart series with an indirect reference tvanellen Charts and Charting in Excel 4 May 31st 06 10:52 AM
Add Series to a chart failure and Disappearing Series GEOTEC Excel Programming 0 October 26th 05 04:13 PM
chart data series -- plot a table as a single series hjc Charts and Charting in Excel 7 September 20th 05 05:52 PM


All times are GMT +1. The time now is 02:03 AM.

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"