Chart name

  • Thread starter Thread starter nsv
  • Start date Start date
N

nsv

Here is an easy one, I guess, for those who know the answer:

Charts on a worksheet are named Chart1, Chart2, etc. as they ar
created, and this is the name you must refer to when manupulating the
in VBA.
Is it possible to look up the name of a chart, and if affirmative is i
possible to change it?


NS
 
Hi,

Hold the Shift key whilst selecting the chartobject, sizing handles
shold be white instead of black, and the charts name will appear in the
Name Box (next to the formula bar). You can then change the charts name
via the name box.

With code use,

Activechart.parent.name = "NewName"

Cheers
Andy
 
Back
Top