PC Review


Reply
Thread Tools Rate Thread

How to code tab order for Controls in Excel forms

 
 
Lin
Guest
Posts: n/a
 
      21st Oct 2008
Hi

I have an excel worksheet forms with Text box and combo box Controls. Ho can
I create tab order for them? Any help really appreciate.

Thanks,
Lin
 
Reply With Quote
 
 
 
 
JLGWhiz
Guest
Posts: n/a
 
      21st Oct 2008
This is from the VBA help file.

Set the tab order using the Tab Order dialog box



Make sure no controls are selected.

1. Right-click in the form, but not on a control.

2. From the shortcut menu, choose Tab Order.

3. Select the name of a control you want to reposition in the tab order.

4. Choose Move Up or Move Down until the control name is in the appropriate
position in the tab order.

"Lin" wrote:

> Hi
>
> I have an excel worksheet forms with Text box and combo box Controls. Ho can
> I create tab order for them? Any help really appreciate.
>
> Thanks,
> Lin

 
Reply With Quote
 
JLGWhiz
Guest
Posts: n/a
 
      21st Oct 2008
If you want to do it by code, then use the Tab Index property (forms). But
unless you are creating the form by code, it is a lot more efficient to set
it manually.

"Lin" wrote:

> Hi
>
> I have an excel worksheet forms with Text box and combo box Controls. Ho can
> I create tab order for them? Any help really appreciate.
>
> Thanks,
> Lin

 
Reply With Quote
 
Rick Rothstein
Guest
Posts: n/a
 
      21st Oct 2008
Select each control one at time in the REVERSE order you want them and set
the Tab Index to 0 with each selection (yes, zero each time)... when you are
done, the Tab Indexes will be in the correct order.

--
Rick (MVP - Excel)


"Lin" <(E-Mail Removed)> wrote in message
news:C35FC9EA-E282-4034-95DA-(E-Mail Removed)...
> Hi
>
> I have an excel worksheet forms with Text box and combo box Controls. Ho
> can
> I create tab order for them? Any help really appreciate.
>
> Thanks,
> Lin


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Word 2007 - Content Controls/Tab order in forms Nancy S. Microsoft Word Document Management 1 18th Sep 2009 02:23 PM
Windows Forms - Multiple Bound Controls Messing Up Tab Order jehugaleahsa@gmail.com Microsoft C# .NET 3 17th Jul 2009 12:20 AM
Comments on code to Show the Controls in Forms and Reports Sam Hobbs Microsoft Access Form Coding 0 6th Oct 2004 08:37 PM
Running Code From Controls On Other Forms bazman1uk Microsoft Excel Programming 3 23rd Aug 2004 05:36 PM
?Code to cycle through forms controls Lisa B. Microsoft Access VBA Modules 6 7th Aug 2003 11:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:26 AM.