Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Set Tab to specific textbox control

Hi all,

Would anyone kindly point out how to set the tab control to a specific
textbox in a form?

Thanks in advance...



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 79
Default Set Tab to specific textbox control

Mandy,

I'm guessing you mean how do you control the tab order in a form.

Select the textbox, under properties, set tabstop to TRUE, set the TabIndex
to the order in which you want the textbox to be tabbed to. Set tabstop to
false for things you don't want to tab to. Set Default to true for your OK
button, Cancel to true for you cancel button.

Robin Hammond
www.enhanceddatasystems.com
Check out our XspandXL add-in


"mandy_less" wrote in message
...
Hi all,

Would anyone kindly point out how to set the tab control to a specific
textbox in a form?

Thanks in advance...



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Set Tab to specific textbox control

Hi again,

I have set the TabOrder, the TabStop of a specific textbox to True and
the rest of the textboxes to False. However, after displaying some
results, the tab still returns to the previous textbox.

For example, suppose that I want the tab to stop at textbox2. After
populating the results in textbox1, the tab returns to textbox1 even
though * UserForm.textbox1.TabStop = False * and *
UserForm.textbox2.TabStop = True *

Can anyone please advice?

Thanks yah!!! (",)



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Set Tab to specific textbox control

Hi,

In case u guys have the problem...
I have found a solution that I want to share...

UserForm.TextBox.Enabled = True
UserForm.TextBox.SetFocus

That shld solve the prob!!!

Cheerios...



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

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
Textbox added to Form at runtime too small, can't control size andchange event won't trigger RCGUA Excel Worksheet Functions 2 December 10th 08 09:34 PM
Textbox added to Form at runtime too small, can't control size andchange event won't trigger RCGUA Excel Worksheet Functions 0 December 10th 08 07:48 PM
Control Toolbox Textbox and Linked Cells Carol Sitea Excel Discussion (Misc queries) 2 March 14th 07 03:14 PM
TextBox control stops displaying linked cell content bda75 Excel Discussion (Misc queries) 0 January 24th 07 05:26 PM
Legnth of text in textbox control rgarber50 Excel Discussion (Misc queries) 3 July 15th 05 02:18 PM


All times are GMT +1. The time now is 01:33 PM.

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

About Us

"It's about Microsoft Excel"