3 Replies Latest reply: Jun 7, 2011 2:00 PM by Erich Shiino RSS

    Rename a chart object using VBa

      Hi .

       

      I have this code to create a table:

       

      set Graph = ActiveDocument.Sheets("Main").CreateStraightTable
      id = Graph.GetObjectId
      msgbox "Chart Name = " & id

       

       

      , so I know the chart ID ( say "Document\CH07) , but I want to rename it to CH01. I suspect this my be through the getproperties, but assistance please!