+ Reply to Thread
Results 1 to 4 of 4

Data Validation Combo Box - Horizontal Named List

  1. #1
    Registered User
    Join Date
    11-27-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2007
    Posts
    7

    Data Validation Combo Box - Horizontal Named List

    I need to create a data validation combo box with an autofill feature. I have the following slightly modified code from the contexture website that works but only when the named lists are vertical. I need to use horizontal named lists because I have more lists than available columns in excel (350). Also I have a macro that creates the horizontal named lists automatically. I have searched multiple forums and it does not look like this issue is solved anywhere, and people just suggest that the lists are recreated vertically. Is it possible to have a data validation combo box run off of a horizontal list?

    Please Login or Register  to view this content.
    I have attached the following sample file. As you can see the code runs on the vertical list (Market1) but not on the horizontal list (Market).

    Thank you so much for your help!

    Moderator's Note: Welcome to the forum. You have to put code tags around codes. Sleelct the code then hit the "#" sign. I'll do it gor you now. Thanks.
    Attached Files Attached Files
    Last edited by vlady; 11-27-2012 at 10:22 PM. Reason: code tags

  2. #2
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Data Validation Combo Box - Horizontal Named List

    I don't have a solution for your problem, but if you are using Excel 2007 as your profile suggests, it has a limit of 16,384 vertical columns.

    - Moo

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Data Validation Combo Box - Horizontal Named List

    Hi AlliG

    Welcome to the Forum! Please wrap your code in Code Tags then try this
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  4. #4
    Registered User
    Join Date
    11-27-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2007
    Posts
    7

    Re: Data Validation Combo Box - Horizontal Named List

    Hi John,

    Unfortunately that does not resolve the issue. I tried replacing the line:

    Please Login or Register  to view this content.
    with your code:
    Please Login or Register  to view this content.
    And I also tried adding that line of code:
    Please Login or Register  to view this content.
    Unfortunately neither of which resolved the issue. Any additional suggestions are greatly appreciated.

    Thanks!

+ 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