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

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
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,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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