Hi All,
I need a VBA MS Excel code to duplicate a series in the chart, which has just one series. Effectively, as a result the chart should have two identical serieses.
Thank you for your help!
PS. I tried this code, but it ends up with run-time error...
ActiveChart.Cha rtArea.Select ' the chart has one series
ActiveChart.Ser iesCollection.N ewSeries
ActiveChart.Ser iesCollection(2 ).Values = ActiveChart.Ser iesCollection(1 ).Values
I need a VBA MS Excel code to duplicate a series in the chart, which has just one series. Effectively, as a result the chart should have two identical serieses.
Thank you for your help!
PS. I tried this code, but it ends up with run-time error...
ActiveChart.Cha rtArea.Select ' the chart has one series
ActiveChart.Ser iesCollection.N ewSeries
ActiveChart.Ser iesCollection(2 ).Values = ActiveChart.Ser iesCollection(1 ).Values
Comment