Hi all,
Apologies if this has already been asked before.
I'm working on an Excel file which shows the relative performance through time of bodns (all rebased at 100 at the starting period). The period is beginning of this year to today. This is a chart that I'd like to use in the future which will update based on market data.
I am using a scattechart with straight lines.
For each bond, I have a defined series with dates as x-axis and bond relative performance as y-axis.
I have a lot of bonds and I just would like to have a macro which would, for each series, put the name of the series (say "JPM 2% 2025") on the last data point of that series (say today). I don't need any other label as the scales would be sufficient to see the relative performance.
I started from a code I found on another post here. However, it returns the relative performance value (the y-axis value). I can't find a way to get the Series name.
Could you please help me?
Thanks in advance for your assistance.
Regards,
Stephane
Apologies if this has already been asked before.
I'm working on an Excel file which shows the relative performance through time of bodns (all rebased at 100 at the starting period). The period is beginning of this year to today. This is a chart that I'd like to use in the future which will update based on market data.
I am using a scattechart with straight lines.
For each bond, I have a defined series with dates as x-axis and bond relative performance as y-axis.
I have a lot of bonds and I just would like to have a macro which would, for each series, put the name of the series (say "JPM 2% 2025") on the last data point of that series (say today). I don't need any other label as the scales would be sufficient to see the relative performance.
I started from a code I found on another post here. However, it returns the relative performance value (the y-axis value). I can't find a way to get the Series name.
Could you please help me?
Thanks in advance for your assistance.
Regards,
Stephane