Using a combobox to control textbox

15 pts.
Tags:
ComboBox
Microsoft Excel 2003
Microsoft Excel ComboBox
TextBox
VB
Visual Basic
how do I code this?

Software/Hardware used:
Visual Basic / Excel Data

Answer Wiki

Thanks. We'll let you know when a new response is added.

I’m not sure what it is that your asking. What program are you asking this for, VB?
If it’s VB you can try this
load your combo box with the items your want it to have and then ad this to your combo box coding under the click section.
<pre>
Dim object As Variant
object = combo1
frmMain.text1 = combo1
</pre>
see if that works for you.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Wstring01
    I have an excel form that contains vendor information and I created a VB form to add new vendors. I wanted to use a combobox to select a vendor and have it populate the textboxes with the vendor information to be edited.
    15 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following