rharri1972
Board Regular
- Joined
- Nov 12, 2021
- Messages
- 132
- Office Version
- 2019
- Platform
- Windows
I have USERFORM3 and on it i have a combo box that is filled with a list of customers. This list of customers comes from a worksheet "Customers Select".
I need a few things to happen when I select from this combo box but I don't know how to tell it what to do with vba.
Example... When I select "Customer A" from COMBOBOX1 which is stored in cell A2 worksheet "Customers Select"....
I need the following to happen :
All of these textboxes are on userform 3....
value of Col B, whichever row, to go to textbox1
value of Col C, whichever row, to textbox 2,
value of Col D, whichever row, to textbox 3.
value of Col E, whichever row, to textbox 4
value of Col F, whichever row, to textbox 5
value of Col G, whichever row, to textbox 6
The range of my list in the combobox1 is A2:G1000 on the worksheet, so another dilemma is that each customer selected will be a different row. Customer Name is Column A.
If it helps, here are my values... Col A is Customer Name (obviously will stay in combobox)
Col B is Address 1 (textbox1)
Col C is Address 2 (textbox2)
Col D is City (textbox3)
Col E is State (textbox4)
Col F is Zip Code (textbox5)
Col G is Customer ID (textbox6)
If I haven't asked in a way that is easily understood, please let me know. One problem I have sometimes when trying to find through google is not knowing how to state what i'm looking for.
Thank you for any and all help!!!
I need a few things to happen when I select from this combo box but I don't know how to tell it what to do with vba.
Example... When I select "Customer A" from COMBOBOX1 which is stored in cell A2 worksheet "Customers Select"....
I need the following to happen :
All of these textboxes are on userform 3....
value of Col B, whichever row, to go to textbox1
value of Col C, whichever row, to textbox 2,
value of Col D, whichever row, to textbox 3.
value of Col E, whichever row, to textbox 4
value of Col F, whichever row, to textbox 5
value of Col G, whichever row, to textbox 6
The range of my list in the combobox1 is A2:G1000 on the worksheet, so another dilemma is that each customer selected will be a different row. Customer Name is Column A.
If it helps, here are my values... Col A is Customer Name (obviously will stay in combobox)
Col B is Address 1 (textbox1)
Col C is Address 2 (textbox2)
Col D is City (textbox3)
Col E is State (textbox4)
Col F is Zip Code (textbox5)
Col G is Customer ID (textbox6)
If I haven't asked in a way that is easily understood, please let me know. One problem I have sometimes when trying to find through google is not knowing how to state what i'm looking for.
Thank you for any and all help!!!