Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Lin Lin is offline
external usenet poster
 
Posts: 10
Default How to code tab order for Controls in Excel forms

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default How to code tab order for Controls in Excel forms

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default How to code tab order for Controls in Excel forms

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

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default How to code tab order for Controls in Excel forms

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" wrote in message
...
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel forms controls [email protected] Excel Discussion (Misc queries) 1 March 18th 07 04:37 AM
Need to automatically number order forms in excel upon opening? Mike1 Excel Discussion (Misc queries) 2 May 16th 06 07:59 PM
Forms controls Catalin Excel Worksheet Functions 2 May 11th 06 03:44 PM
Forms Controls Larry Dodd Excel Programming 4 March 27th 05 11:39 AM
Running Code From Controls On Other Forms bazman1uk Excel Programming 3 August 23rd 04 05:36 PM


All times are GMT +1. The time now is 06:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"