+ Reply to Thread
Results 1 to 3 of 3

User Form combo box data question.

  1. #1
    Registered User
    Join Date
    12-10-2014
    Location
    usa
    MS-Off Ver
    2013
    Posts
    13

    User Form combo box data question.

    I have a user form with two drop boxes that I need to have customized a bit more than what I'm capable of at the moment. What I'm trying to do is have the drop down boxes show the name of places that are paired to unique numbers so when the user picks the name they are looking for it will input the unique number instead of the name they selected in the user form.

    For example the combo box's row source is Circuit_ID which is the names of each circuit. Now each circuit has a unique number in the same row. So A:1 has the name ABBINGTON_002 and the info I need inputted would be in D:1 which would be the circuit ID number. Each row is set up the same way Column A is the name and Column D is the ID number so on and so on for a few thousand names.

    I have been trying for the last week to figure this out and I have not been successful. If any one could point me in the right direction I would greatly appreciate it

    Thanks!

  2. #2
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: User Form combo box data question.

    Use a multi-column ComboBox with hidden columns

    Please Login or Register  to view this content.
    Then the code for the user selected item would be ComboBox1.List(.ListIndex, 3)
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Registered User
    Join Date
    12-10-2014
    Location
    usa
    MS-Off Ver
    2013
    Posts
    13

    Re: User Form combo box data question.

    Thanks a lot! This is what I have been looking for. I can definitely research more on this to make it work!

+ 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. Input data in next row/ linking combo box in user form.
    By DECROMAX in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-14-2013, 04:32 AM
  2. combo box user form code for two combo boxes
    By robert.begley1 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-01-2012, 02:25 PM
  3. Replies: 5
    Last Post: 05-09-2012, 08:10 AM
  4. User Form Combo Box using Data Validation
    By Gnipp in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-25-2011, 04:37 PM
  5. Combo Box on User Form Question
    By James in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2006, 09:10 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