+ Reply to Thread
Results 1 to 2 of 2

If ComboBox1 = Text Then Show List name in TextBox

  1. #1
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    If ComboBox1 = Text Then Show List name in TextBox

    Good day,
    Looking help for the following:

    In a UserForm, I have a comboBox with a list of names...Lets say John Doe and Joe Dane. I need that if a user Select, lets say John Doe then the TextBox will populate another Text vs that name.

    Example:

    John Doe = HS321
    Joe Dane = HS123

    If the user select John Doe Then HS321 will be inserted in the TextBox
    If the user select Joe Dane Then HS123 will be inserted in the TextBox

    Is there a special way to do this in VBA and not by hidding the name and id tag in a new worksheet?

    Thank you,

  2. #2
    Forum Contributor
    Join Date
    03-29-2012
    Location
    Canada
    MS-Off Ver
    2007
    Posts
    818

    Re: If ComboBox1 = Text Then Show List name in TextBox

    Found my own Answer...lol

    Code:

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Code to populate text boxes based on value of ComboBox1
    By matrixpom in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-25-2013, 01:46 AM
  2. Add to combobox list by entering new text in textbox
    By processchip in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2012, 09:13 AM
  3. How show the input message of a data validation list on a textbox
    By votefourpedro in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-10-2011, 02:12 PM
  4. Compare cell text to set list and show text differences
    By NSTurk725 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-06-2009, 09:54 PM
  5. [SOLVED] HOW DO I SUMMARIZE A LIST OF TEXT, I WANT ONE A TO SHOW UP NOT 10
    By JasmineSy in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-27-2005, 12:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1