Give Objects Names in Power Point

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I give names to textboxes or other objects so I can refer to them more
simply in macros? You can easily do this in excel by using the "Insert"
"Name -> Define".

For example:

Instead of referring to "Rectangle 4" below
ActiveWindow.Selection.SlideRange.Shapes("Rectangle 4").Select

I'd like to refer to "MyNameHere" as shown below
ActiveWindow.Selection.SlideRange.Shapes("MyNameHere").Select
 

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

Back
Top