Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 363
Default Select another Textbox After Selection

Is there a way i can add a line of code when a textbox value has been entered, to go directly to
(and select) another textbox ?

I am actually using the MouseMove command, but want to eliminate the chance of the user NOT moving
the Mouse over the required Texbox to run the macro.

I want to do some thing like:

Private Sub ComboBox5_Change()
' What ever code here, then

' <==== MouseMove on Combobox6 ' To run procedure on Combobox6 (as below)

end sub



AND, then with Combobox6:

Private Sub ComboBox6_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single,
ByVal Y As Single)
ComboBox6.DropDown

'<==== MouseMove to be run on Textbox36 after Combobox6 value Changes
End Sub

Is there a way of doing this ?
How?

Corey....


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 363
Default Select another Textbox After Selection

I think there would be another way if you can code the mouse pointer to reposition elsewhere on the
userform.
Can this be done ?


"Corey" wrote in message ...
Is there a way i can add a line of code when a textbox value has been entered, to go directly to
(and select) another textbox ?

I am actually using the MouseMove command, but want to eliminate the chance of the user NOT moving
the Mouse over the required Texbox to run the macro.

I want to do some thing like:

Private Sub ComboBox5_Change()
' What ever code here, then

' <==== MouseMove on Combobox6 ' To run procedure on Combobox6 (as below)

end sub



AND, then with Combobox6:

Private Sub ComboBox6_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single,
ByVal Y As Single)
ComboBox6.DropDown

'<==== MouseMove to be run on Textbox36 after Combobox6 value Changes
End Sub

Is there a way of doing this ?
How?

Corey....



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
A Simply ComboBox Selection returns value to TextBox thom hoyle Excel Programming 2 June 24th 05 12:42 AM
Select Text in TextBox ben Excel Programming 4 June 14th 05 07:33 PM
Select text in textbox Todd Huttenstine Excel Programming 2 December 16th 04 03:38 PM
Userform: Textbox changing with selection in combobox (list) NorTor[_3_] Excel Programming 3 June 8th 04 10:19 PM
textbox selection to relative row? CAA Excel Programming 1 December 4th 03 01:21 AM


All times are GMT +1. The time now is 08:58 AM.

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"