I have a sheet with 60 charts and wanted to add a comment (essentially a date) which is on a different sheet to the charts. I have VBA code to add a comment via text box but can't manage to link this to a cell (see below - I want to replace "Hello world" with a cell reference on a different sheet to the charts. I have also found that each time I run the macro it creates a new textbox ("TextBox4" for example) and places this on top of the previous ones. I would only want one comment each time it is updated i.e. delete the existing comment and replacing with a new one.
Code:
ActiveChart.Shapes.AddTextbox(msoTextOrientationHorizontal, 1, 1, 100, 20).TextFrame.Characters.Text = "Hello World"