Shapes.Name

F

FredrikT

Lets say I add 10 TextBox Shapes top my PowerPoint
presentaion by drawing them on the presentation. Then I
can't give them a name, like you can do with a VB Control
TextBox using Properties. In a a macro, if I want to refer
to my created Text Box Shapes, I do it like
Application.ActivePresentation.Slides(1).Shapes(#)

This is kind of messy, because the number you are
referring to isn't fixed to a certain shape. So if I
delete shape(1), all the other shapes will change their
number. And you cant see which shape is which number.

I know I can refer to the shapes by name, but the only
possibility to assign them a name, is programatically.

Any suggestions on how to handle this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top