Trouble Changing Shape Name in JavaScript

Hi!

I've noticed that setting a shape's name in JavaScript seems to not have any effect.  It doesn't crash, but also doesn't change the name.  For instance, with a shape reference called aShape:

aShape.Name = "New Name";

Does anyone know a way to make this work in JavaScript?

Thanks for any insight you can provide

  • doesn't change the name

    how did you get it?  Object Manager did not redraw new name or MsgBox aShape.Name shows the old name? 

    • Hi!

      Thanks for following up, and sorry for the delay - it's been crazy busy here

      The object manager does not redraw the new name and the aShape.Name still shows the old name, which I tested by placing it in an alert box.