spmcmorrow
asked on
How do I group or reference a powerpoint table from VB
I am creating a powerpoint slide from my application. At one point I add a table and then want to populate the cells. I need to know how to name the table, or group it with a name so that I can select it to populate it. My code looks something like the code below ( this was generated from a macro in powerpoint, so I just need to know how to get the name like "group 142") .
oSlide.Shapes.AddTable(11, 5, 358, 28, 300, 500)
oApp.ActiveWindow.Selectio n.SlideRan ge.Shapes( "Group 142").Select()
oApp.ActiveWindow.Selectio n.ShapeRan ge.GroupIt ems(Index: =54).TextF rame.TextR ange.Chara cters(Star t:=1, Length:=0).Select()
Thanks in advance for your help.
oSlide.Shapes.AddTable(11,
oApp.ActiveWindow.Selectio
oApp.ActiveWindow.Selectio
Thanks in advance for your help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Did this last code work out??