Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Powerpoint VBA textbox tab order

203 views
Skip to first unread message

Fishel@discussions.microsoft.com Bob Fishel

unread,
Dec 31, 2009, 1:53:01 PM12/31/09
to
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

Mark

unread,
Dec 31, 2009, 2:10:01 PM12/31/09
to
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.

Steve Rindsberg

unread,
Dec 31, 2009, 7:18:01 PM12/31/09
to
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/

0 new messages