Harry Covair
Member
Hi the forum,
I’m facing with the following problem.
How can I, in VBA, change the category label when, in a pivotchart, I switch the Row/Column?
As illustration, in the attached file, select a “team” in the Team worksheet. A pivotchart is shown.
In the pivotchart sheet, a click on the “Switch Row/Column” button modifies the chart but the category label remains unchanged while the legend is well adapted. See code in "Thisworkbook", Sub btn_SwitchR_C_click() procedure.
Does some member of the forum could help me to solve the problem?
If needed, worksheets should be unhided.
Thanks in advance
Harry
I’m facing with the following problem.
How can I, in VBA, change the category label when, in a pivotchart, I switch the Row/Column?
As illustration, in the attached file, select a “team” in the Team worksheet. A pivotchart is shown.
In the pivotchart sheet, a click on the “Switch Row/Column” button modifies the chart but the category label remains unchanged while the legend is well adapted. See code in "Thisworkbook", Sub btn_SwitchR_C_click() procedure.
Does some member of the forum could help me to solve the problem?
If needed, worksheets should be unhided.
Thanks in advance
Harry