Lynn,
You have to change the name of the chart in the properties window of the VBA
Select the chart from the project explorer and hit F4. Look for the (Name)
with brackets. If you change that you should be able to refer to your chart
in this fashion
MyCustomChart.AutoScaling = False
If you change the Name (without brackets) property you can refer to it like
Charts("MyCustomChart").AutoScaling = False
Hope that helps
Dan E
"Lynn" <(E-Mail Removed)> wrote in message
news:01cb01c3456f$daed5860$(E-Mail Removed)...
> How do I name a chart so that it may be referred to in VBA
> code? The Help documentation indicates that this may be
> done by selecting the chart and typing in the Name box.
> This did not work for me however.
|