Thanks you for still trying
I tried to make a macro doing the same by recording what I did, which means it ends up differently. I had to take out part of it afterwards, as it didn't work when I tried to run it.
When I tried to run yours, it seems like it always hightlights the first line and .Character in the line
ActiveChart.ChartTitle.Format.TextFrame2.TextRange.Characters.Text = MyTitleL
I tried to take the line out, and Excel crashed when I try to run it, after I had chosen the range and the title.
I have tried to line by line to include your into mine, and when I got to the line mentioned above it didn't crash but came with the error
Run-time error '438': Object doesn't support this property or method.
This was what I was comparing with. the macro I did:
Moderator Note:
Pls use code tags around your code next time as per forum rules.
Bookmarks