ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   ComboBox problem (https://www.excelbanter.com/excel-discussion-misc-queries/250497-combobox-problem.html)

Hoyos

ComboBox problem
 
On my Userform, there is one ComboBox with 5 TextBoxes. Depending what is
selected on the dropdown list of the ComboBox will depend what is displayed
in the TextBoxes. The problem I have is that when choosing an item from the
list in order to update the data in the TextBoxes I have to select one
TextBox.
Is there a way so that the moment an item is selected it changes all the
textboxes?

Stefi

ComboBox problem
 
Maybe you should create a similar event sub:

Private Sub ComboBox1_Change()
UserForm1.TextBox1.Value = ComboBox1.Value
UserForm1.TextBox2.Value = ComboBox1.Value
End Sub

--
Regards!
Stefi



€˛hoyos€¯ ezt Ć*rta:

On my Userform, there is one ComboBox with 5 TextBoxes. Depending what is
selected on the dropdown list of the ComboBox will depend what is displayed
in the TextBoxes. The problem I have is that when choosing an item from the
list in order to update the data in the TextBoxes I have to select one
TextBox.
Is there a way so that the moment an item is selected it changes all the
textboxes?


Hoyos

ComboBox problem
 
Sorry Stef, it doesn't work. I still need to select a textbox, after
selecting a item from the combobox, for the figures to update.

"Stefi" wrote:

Maybe you should create a similar event sub:

Private Sub ComboBox1_Change()
UserForm1.TextBox1.Value = ComboBox1.Value
UserForm1.TextBox2.Value = ComboBox1.Value
End Sub

--
Regards!
Stefi



€˛hoyos€¯ ezt Ć*rta:

On my Userform, there is one ComboBox with 5 TextBoxes. Depending what is
selected on the dropdown list of the ComboBox will depend what is displayed
in the TextBoxes. The problem I have is that when choosing an item from the
list in order to update the data in the TextBoxes I have to select one
TextBox.
Is there a way so that the moment an item is selected it changes all the
textboxes?


p45cal[_48_]

ComboBox problem
 

p45cal;581451 Wrote:
What's your current code?


Really, it would be useful..


--
p45cal

*p45cal*
------------------------------------------------------------------------
p45cal's Profile: 558
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=160804

Microsoft Office Help


Stefi

ComboBox problem
 
p45cal is right: then post your code!

--
Regards!
Stefi



€˛hoyos€¯ ezt Ć*rta:

Sorry Stef, it doesn't work. I still need to select a textbox, after
selecting a item from the combobox, for the figures to update.

"Stefi" wrote:

Maybe you should create a similar event sub:

Private Sub ComboBox1_Change()
UserForm1.TextBox1.Value = ComboBox1.Value
UserForm1.TextBox2.Value = ComboBox1.Value
End Sub

--
Regards!
Stefi



€˛hoyos€¯ ezt Ć*rta:

On my Userform, there is one ComboBox with 5 TextBoxes. Depending what is
selected on the dropdown list of the ComboBox will depend what is displayed
in the TextBoxes. The problem I have is that when choosing an item from the
list in order to update the data in the TextBoxes I have to select one
TextBox.
Is there a way so that the moment an item is selected it changes all the
textboxes?



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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com