W
wrldruler
I am exporting data from Access to PowerPoint and almost have it
working.
First I coded using the "names" of the shapes
With PPSlide.Shapes.Item("Text Box 301").TextFrame.TextRange
This worked fine until I wanted to have the database create duplicate
slides. Evidently the names change when a slide is duplicated, thus
breaking my code.
So I changed the code to reference by shape index:
With PPSlide.Shapes(14).TextFrame.TextRange
This works fine for all my textboxes. But I can't get the syntax
correct for tables.
My old code by "name" is:
With PPSlide.Shapes.Item("Group 549").Table
But I can't figure out what Index the table or group is. How do i
indetify the shape index of a table, and what is the correct syntax
for referencing?
Thanks,
Chris
working.
First I coded using the "names" of the shapes
With PPSlide.Shapes.Item("Text Box 301").TextFrame.TextRange
This worked fine until I wanted to have the database create duplicate
slides. Evidently the names change when a slide is duplicated, thus
breaking my code.
So I changed the code to reference by shape index:
With PPSlide.Shapes(14).TextFrame.TextRange
This works fine for all my textboxes. But I can't get the syntax
correct for tables.
My old code by "name" is:
With PPSlide.Shapes.Item("Group 549").Table
But I can't figure out what Index the table or group is. How do i
indetify the shape index of a table, and what is the correct syntax
for referencing?
Thanks,
Chris