Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Differences between SeriesCollection and FullSeriesCollection

Tags:

excel

vba

I am trying to clean some auto generated code and I am rather new with the series functionality in excel. So in many websites/forums I found people using a lot more SeriesCollection instead of my generated code using FullSeriesCollection.

My code is filtering some stuff and then it is setting the x axis values of a chart so it is doing that:

.ChartObjects("Voltage").Chart.FullSeriesCollection(1).XValues = "=Parametric_Sheet!D:D"

I'm trying to know if this code is ok or not or if I can clean it.

like image 349
Jack Avatar asked Sep 14 '25 05:09

Jack


1 Answers

Sure someone else will give more info.

At least one difference is seriesCollection is backwards compatible across Excel version.

Your code is fine for newer Excel versions but if you want to ensure compatibility across then use seriesCollection instead.

like image 145
QHarr Avatar answered Sep 16 '25 01:09

QHarr