PC Review


Reply
Thread Tools Rate Thread

Changing Tab order - easier method??

 
 
Roger on Excel
Guest
Posts: n/a
 
      30th Dec 2009
[Excel 2003]

I have a userform with hundreds of textboxes on it

They are not in any particular Tab order and rearranging them is going to be
a major undertaking to put them in a sensible order

Is there an easier way to change the Tab order without using the tiny dialog
box in the VBA window?

Many Thanks,


Roger
 
Reply With Quote
 
 
 
 
Rick Rothstein
Guest
Posts: n/a
 
      30th Dec 2009
An alternative to using the Tab Order dialog is to select your controls one
at a time in the REVERSE order that you want them to be numbered in and set
the TabIndex property to 0 (ZERO) for EACH control that you select. The
second time you set a control's TabIndex to 0, the previous control whose
TabIndex was 0 will have it renumber to 1. The third time, the TabIndex 0
goes to TabIndex 1 and the prior control with TabIndex 1 gets bumped up to
TabIndex 2, and so on. That is why you pick the controls in the reverse
order that you want them numbered in.

--
Rick (MVP - Excel)


"Roger on Excel" <(E-Mail Removed)> wrote in message
news:1F07760A-1D7C-43BB-B84A-(E-Mail Removed)...
> [Excel 2003]
>
> I have a userform with hundreds of textboxes on it
>
> They are not in any particular Tab order and rearranging them is going to
> be
> a major undertaking to put them in a sensible order
>
> Is there an easier way to change the Tab order without using the tiny
> dialog
> box in the VBA window?
>
> Many Thanks,
>
>
> Roger


 
Reply With Quote
 
Mike H
Guest
Posts: n/a
 
      30th Dec 2009
Hi,

Yes, there's a much easier way. Right click the userform and select 'Tab
Order' and in the popup sort to how you want it.

Mike

"Roger on Excel" wrote:

> [Excel 2003]
>
> I have a userform with hundreds of textboxes on it
>
> They are not in any particular Tab order and rearranging them is going to be
> a major undertaking to put them in a sensible order
>
> Is there an easier way to change the Tab order without using the tiny dialog
> box in the VBA window?
>
> Many Thanks,
>
>
> Roger

 
Reply With Quote
 
Roger on Excel
Guest
Posts: n/a
 
      31st Dec 2009
Thanks Rick,

I will give that a try - will let you know how it works out

Roger

"Rick Rothstein" wrote:

> An alternative to using the Tab Order dialog is to select your controls one
> at a time in the REVERSE order that you want them to be numbered in and set
> the TabIndex property to 0 (ZERO) for EACH control that you select. The
> second time you set a control's TabIndex to 0, the previous control whose
> TabIndex was 0 will have it renumber to 1. The third time, the TabIndex 0
> goes to TabIndex 1 and the prior control with TabIndex 1 gets bumped up to
> TabIndex 2, and so on. That is why you pick the controls in the reverse
> order that you want them numbered in.
>
> --
> Rick (MVP - Excel)
>
>
> "Roger on Excel" <(E-Mail Removed)> wrote in message
> news:1F07760A-1D7C-43BB-B84A-(E-Mail Removed)...
> > [Excel 2003]
> >
> > I have a userform with hundreds of textboxes on it
> >
> > They are not in any particular Tab order and rearranging them is going to
> > be
> > a major undertaking to put them in a sensible order
> >
> > Is there an easier way to change the Tab order without using the tiny
> > dialog
> > box in the VBA window?
> >
> > Many Thanks,
> >
> >
> > Roger

>
> .
>

 
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
easier method for inserting object in cell Radhakant Panigrahi Microsoft Excel Misc 0 22nd Apr 2010 03:59 PM
Easier Method Steven Microsoft Excel Programming 2 21st May 2008 11:58 PM
How stop Excel file UK date order changing to US order in m.merge =?Utf-8?B?Um9nZXIgQWxkcmlkZ2U=?= Microsoft Excel Misc 1 9th Oct 2007 11:52 PM
Changing display for easier reading =?Utf-8?B?Q2hlcnls?= Windows XP Basics 9 27th Sep 2006 04:46 PM
create an easier method of creating multiple name lables =?Utf-8?B?bGl6emllbWNnb3dhbkBiZWxsc291dGgubmV0?= Microsoft Access Forms 2 12th Dec 2005 03:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:48 AM.