list of series

shadow12345

Well-known Member
Joined
May 10, 2004
Messages
1,238
When i click on a series on my chart I can see the series details in the formula bar.

Can i get a list of all of them, rather than clicking each series in turn? Is that possible?
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
Hi Shadow

Select the chart and execute this code. You'll get the list of the series and their formulas in columns A:B, starting in A1.

Code:
Sub ListSeriesFormulas()
Dim ser As Series
Dim lRow As Long
 
For Each ser In ActiveChart.SeriesCollection
    lRow = lRow + 1
    Range("A" & lRow) = ser.Name
    Range("B" & lRow) = "'" & ser.Formula
Next ser
End Sub
 
Upvote 0
Damit... i spent days trolling the internet looking for this.

I finally got something working ish, using a whole bunch of code with class module and all i needed was that.


*sigh*

Im sure there is a secret to this im missing. :-) Thanks for the reply though, im going to use your instead at least i kind of understand what its doing.
 
Upvote 0

Forum statistics

Threads
1,224,545
Messages
6,179,432
Members
452,915
Latest member
hannnahheileen

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top