move to a slide containing a specific value in a textbox

J

Julied_ng

Hi

i need to use VBA to move to a slide containing a specific value in a
hidden text box (name txtMNum) and i'm not sure of the appropriate code
to do this.

This textbox will exist on up to 20 slides with a different value in
each and i can't think of the easiest way to "find" the slide with the
value i want in the text box.

Help.

Cheers
JulieD
 
D

David M. Marcovitz

Will the text box have the same name on each slide? If so, you could loop
through each slide and check the

..Shapes("KeyTextBox").TextFrame.TextRange.Text

to see if it matches. If it does, you know you've got the right slide.

--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.loyola.edu/education/PowerfulPowerPoint/
 

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