Label at the end of Stacked Bar Pivot Chart

PopSix

New Member
Joined
Aug 31, 2010
Messages
8
I have a stacked bar pivot chart. I would like to add a label or textbox at the end of each of the bar. How do I find and reference the x-y coordinates for the end each bar?

My VBA is limited, but growing. Any snippet or code example would be great.

Thanks.
 
Adjust this line:
Code:
Set ser = ActiveChart.SeriesCollection(9)
to this:
Code:
Set ser = ActiveChart.SeriesCollection(ActiveChart.SeriesCollection.COunt)
 
Upvote 0

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Rory,

Thanks. This was cool. I guess that I was not clear. Sorry. I do not want to over right the value in the last of the series. I want to leave all the data labels of each portion of the stack intact. I want to add a total or text to the end, or just below, the end of each bar.

Thanks,
Don
 
Upvote 0

Forum statistics

Threads
1,213,494
Messages
6,113,988
Members
448,538
Latest member
alex78

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