Naming Objects in VBA - TechRepublic
General discussion
June 30, 2005 at 06:18 AM
rwint

Naming Objects in VBA

by rwint . Updated 21 years ago

I have XP and Office 2003. In powerpoint I have added a textbox object to numerous slides which I wish to access in VBA (ex. msgbox Slide5.Team1.Value displays the content of a textbox called “Team1” on a slide named “slide5”). The Team1 textbox exists on all slides. How can I substitute a variable name for “slide5” so I can programmatically access the textbox value on any slide.

This discussion is locked

All Comments