![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
option buttons? for instance, if OB1 is selected, all textboxes are included in the tab order. If OB2 is selected, textbox1 & textbox4 are removed from the tab order.
Thanks for the help |
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sydney, Australia
Posts: 2,908
|
Yeah sure - you can change the TabStop property of your textboxes at run-time e.g.
Private Sub OB2_Click() If OB1.Value = True Then Me.TextBox1.TabStop = False Me.TextBox4.TabStop = False Else Me.TextBox1.TabStop = True Me.TextBox4.TabStop = True End If End Sub Private Sub OB1_Click() If OB2.Value = True Then Me.TextBox1.TabStop = True Me.TextBox4.TabStop = True Else Me.TextBox1.TabStop = False Me.TextBox4.TabStop = False End If End Sub HTH, D |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|