+ Reply to Thread
Results 1 to 4 of 4

Need Help ASAP Please! - ComboBox2 List Value based on what 1's Value

  1. #1
    Registered User
    Join Date
    04-05-2017
    Location
    austin, texas
    MS-Off Ver
    2016
    Posts
    5

    Need Help ASAP Please! - ComboBox2 List Value based on what 1's Value

    I'm hoping you guys might be able to help me meet a deadline in helping me solve how to code this.

    Essentially:

    Combobox1 = The names of each sheet in Workbook

    Each sheet is titled after a state. Example: "Arizona" "Texas" "etc."

    Now I have that part down but I'm having trouble with Combobox2's value. This is what I'm trying to populate:

    Combobox2 = Based on what state is selected for ComboBox1, pull each name in that state's assigned sheet Range("A2:A200")

    But each name that is in Range("A2:A200") is duplicated various amounts of times throughout the sheet. I'm looking for Combobox2 to only display Unique Names within the range.

    Please, if you guys can help get this solved as soon as possible that would be amazing!!! <3

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Need Help ASAP Please! - ComboBox2 List Value based on what 1's Value

    An example file might help speeding up things a little.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Registered User
    Join Date
    04-05-2017
    Location
    austin, texas
    MS-Off Ver
    2016
    Posts
    5

    Re: Need Help ASAP Please! - ComboBox2 List Value based on what 1's Value

    Unfortunately it has to deal with a lot of personal information so I'm hoping this explanation might help out a bit. =)

    Workbook Sheet Names: Arizona, California, North Carolina, Ohio, Tennessee, Georgia, Missouri, California, Florida, Illinois, Nevada, Pennsylvania, Texas, and Washington.

    Inside Each Sheet:
    Column A: Provider's First/ Last Name - Column Titled: Provider
    Column C: Payer's Company Name - Column Titled: Payer

    UserForm Info:
    ComboBox1: This is the first selection available to the searcher. The names displayed in the UserBox are the name of each Worksheet in the Workbook. They are titled in correspondence to the specific state info for each sheet.

    ComboBox2: This will display the First/ Last Name of each provider, listed in each cell within Range("A2:A200"), in correspondence to the sheet name chosen in Combobox1.

    ***

    This is where I'm having the problem. I can get ComboBox1 working to populate each State but ComboBox2 I can't seem to get working. Let me know if this helps and any points I can help clarify!

  4. #4
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Need Help ASAP Please! - ComboBox2 List Value based on what 1's Value

    In Worksheetmodule.

    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] Combobox2 list depends on the choice of combobox1
    By serenitylai in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-24-2017, 09:38 AM
  2. Change combobox2, 3 value according to combobox1 (userform)
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-23-2017, 08:02 AM
  3. [SOLVED] vlookup value in a combobox2 based on the combobox1 selection
    By camt123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-08-2016, 11:57 AM
  4. UserForm : ComboBox2 and ComboBox3 's value upon on Combobox1 's value
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-26-2014, 08:16 AM
  5. [SOLVED] items in combobox2 depending on combobox1
    By minifreak in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-15-2012, 10:52 AM
  6. Combobox2 dependent on Combobox1
    By teacher_rob in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-19-2011, 10:10 AM
  7. Help ASAP Please. Increase quantity/merge dropdown list
    By SpineDoc in forum Excel General
    Replies: 3
    Last Post: 06-08-2011, 02:08 AM

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