Powerpoint VBA textbox tab order

B

Bob Fishel

Hi all I have a powerpoint presentation with a number of textboxes on each
slide. I would like to be able to setup a tab order for these. I am used to
using this sub in excel (on keydown)

If KeyCode = 9 Then
TextBox2.Activate
End If


However it seems that the powerpoint textboxes don't have an activate method.

Any ideas?

Thanks

-Bob
 
M

Mark

Do you mean a standard textbox shape in PowerPoint, or a VBA textbox control?
If you mean the latter, it has a .setFocus method, but I don't think it's
available outside of a UserForm.
 
S

Steve Rindsberg

There's no way to assign tab order similar to the way it works on VB/VBA
forms. The boxes and hyperlinks etc. will activate in z-order. Ie, if one's
drawn before another, it'll activate first.

Even so, you can't tab from one box to another the way you can between text
boxes on a form.

--
PowerPoint FAQ
http://www.pptfaq.com/
==
PPTools - Add-ins for PowerPoint
http://www.pptools.com/
 

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