FullSeriesCollection generates “Compile Error: Method or Data Member not found” in Excel 2010

前端 未结 1 1183
难免孤独
难免孤独 2021-01-18 08:55

I created a macro that adds data labels to the two series in my pivot chart.

Sub Data_Labels_On_Pivot2()
\'
\' Data_Labels_On_Pivot2 Macro
\'

\'
    ActiveS         


        
相关标签:
1条回答
  • 2021-01-18 09:25

    FullSeriesCollection was added in Excel 2013. It isn't a valid property in earlier versions.

    Replace FullSeriesCollection with SeriesCollection, which is valid in Excel 2010.

    Credits to Siddharth Rout who posted this answer as a comment.

    0 讨论(0)
提交回复
热议问题