Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 90280

Add legend to each point with VBA

$
0
0

I would like to programmatically add a legend to some points in my excel chart as you can see below.

chart with legends on points

I can already control each point color so I thought it wouldn't be so hard, however I can't find how to edit this legend (On the picture I created and edited it manually by adding a tag).

I wanted to use something like cht.Legend.LegendEntries(1).Value = "lol" But this obviously doesn't work...

Can anyone help me on this ? Thank you in advance!


Viewing all articles
Browse latest Browse all 90280

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>