+ Reply to Thread
Results 1 to 7 of 7

ComboBox when external value change other combobx return Value

  1. #1
    Registered User
    Join Date
    06-06-2012
    Location
    Mexico
    MS-Off Ver
    Excel 2010
    Posts
    99

    Question ComboBox when external value change other combobx return Value

    Hi EF User's!, good morning!!

    I have this macro:
    Please Login or Register  to view this content.
    The combobox8 returns an employee number one external worksheet. The range of employee number ​​is A2:A.
    Just want you in combobox9 put the "Employee Name"( Range B2:B and the same worksheet) when selecting combobox8 value.

    someone could help me?

    Best Regards!!

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: ComboBox when external value change other combobx return Value

    Try this...

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-06-2012
    Location
    Mexico
    MS-Off Ver
    Excel 2010
    Posts
    99

    Re: ComboBox when external value change other combobx return Value

    Hi Alphafrog, thanks!! but doesn't work , I need when the combobox8 select an employee number (A2:A) return the "Employee Name" in the combobox9 ( B2:B and the same worksheet)..
    Any idea Alpha?
    Thanks a lot!

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: ComboBox when external value change other combobx return Value

    Use my previous code to populate the two comboboxes.

    The code below will select the employee name in combobox9 when you select a number in combobox8
    Please Login or Register  to view this content.
    This will select an employee number in combobox8 when you select a Name in combobox9.
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    06-06-2012
    Location
    Mexico
    MS-Off Ver
    Excel 2010
    Posts
    99

    Re: ComboBox when external value change other combobx return Value

    Wwow!

    Works Great!!

    It's the final code for ExForum User's:

    Please Login or Register  to view this content.
    In combobox8:
    Please Login or Register  to view this content.
    In Combobx9:
    Please Login or Register  to view this content.

    !! Thanks AlphaFrog!,

  6. #6
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: ComboBox when external value change other combobx return Value

    You're welcome.

    Alternatively, you could simply populate combobox8 with two columns; the employee number and name.
    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    06-06-2012
    Location
    Mexico
    MS-Off Ver
    Excel 2010
    Posts
    99

    Re: ComboBox when external value change other combobx return Value

    it's much better Sr!

    Works Great!!..

    Thanks again AlphaFrog!!
    Regards!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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