Excel 2016 SurfaceChart Legend.LegendEntries() Text Retrieval?

SunDogs

New Member
Joined
Oct 15, 2017
Messages
12
Hello,

I'm working with 3D Surface Charts using Personal Macro WB.
The 3D chart is in a Chart Sheet and NOT embedded.

I need to put the LegendEntry(12) text into a variable.
I can Bold the text using

ActiveChart.Legend.LegendEntries(12).Font.Bold = True

But I can't figure out how to retrieve the text.

Thanks for your help!
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Hi thisoldman, thanks but no I'm not looking for the series name. My legend is based on the y axis and they are power level bands.
Thank you for trying!
 
Upvote 0
Z is the depth and the series, y is the value of the series, x is the series range. The y values are the band values. I would think there is a way to ping the legend to get these values...but maybe there isn't. It is strange that I can bold the text in the series, so one would think that I should be able to retrieve the text also. So, no worries if you don't know.
Thanks!
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

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