+ Reply to Thread
Results 1 to 6 of 6

Simple Combobox error

  1. #1
    Registered User
    Join Date
    11-10-2011
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2003
    Posts
    16

    Simple Combobox error

    Hey experts,

    On a sheet titled "Database", I have a list of customers names in column A.
    I have a userform titled "frmentry" and this form I have combobox titled "cbocustname".
    I'm trying to make the combobox so that if a customer is added to the database the user will not have to adjust the code to see the customer's name in combobox.
    Its something that seems quite simple but Im getting - "Error 13 - Type Mismatch"

    Any suggestions? Thanks.

    Please Login or Register  to view this content.
    Last edited by goldstandard; 11-28-2011 at 02:20 PM.

  2. #2
    Valued Forum Contributor Steffen Thomsen's Avatar
    Join Date
    10-15-2010
    Location
    Kolding, Denmark
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    953

    Re: Simple Combobox error

    Try this

    Please Login or Register  to view this content.
    Please take time to read the forum rules

  3. #3
    Registered User
    Join Date
    11-10-2011
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Simple Combobox error

    Thanks Steffen.
    Tried the code...I now get error "1004 - Application-defined or Object-defined error".
    Any suggestions?
    Appreciate the response though.

  4. #4
    Valued Forum Contributor Steffen Thomsen's Avatar
    Join Date
    10-15-2010
    Location
    Kolding, Denmark
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    953

    Re: Simple Combobox error

    Try this instead
    Please Login or Register  to view this content.

  5. #5
    Valued Forum Contributor john55's Avatar
    Join Date
    10-23-2010
    Location
    Europe
    MS-Off Ver
    Excel for Microsoft 365
    Posts
    2,060

    Re: Simple Combobox error

    as an option
    Please Login or Register  to view this content.
    Last edited by john55; 11-28-2011 at 02:15 PM.
    Regards, John55
    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.

    ...enjoy -funny parrots-

  6. #6
    Registered User
    Join Date
    11-10-2011
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2003
    Posts
    16

    Re: Simple Combobox error

    Steffen...your second code unfortunately did not work...same error. Thanks for the post though.
    John...looks like you're the winner today. Thanks champ. Out of curiosity..any idea why my original code didn't work?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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