I am trying to rename the active chart using VBA. I know I have done this before, but the obvious methods do not seem to work. I wrote a little test procedure[VBA]Sub ActiveChartRename()
MsgBox "renaming chart " & ActiveChart.Name
On Error Resume Next
ActiveChart.Name = "TestName"
MsgBox ActiveChart.Name & vbCrLf & Err.Number & vbTab & Err.Description
End Sub
[/VBA]It fails with a 1004 error