View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
mangesh_yadav[_359_] mangesh_yadav[_359_] is offline
external usenet poster
 
Posts: 1
Default Getting series name


This works nicely for me.

Private Sub CommandButton1_Click()
For i = 1 To ActiveSheet.ChartObjects.Count
MsgBox ActiveSheet.ChartObjects(i).Name
For Each sr In
ActiveSheet.ChartObjects(i).Chart.SeriesCollection
MsgBox sr.Name
Next
Next i
End Sub


Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=381893