+ Reply to Thread
Results 1 to 4 of 4

Load list box

  1. #1
    Registered User
    Join Date
    02-09-2009
    Location
    Washington, US
    MS-Off Ver
    Excel 2003
    Posts
    73

    Load list box

    I have this piece of code that loads a list box and it has worked without 1 problem for the longest time.

    Today, there have been 4 or 5 instances when it doesn't work, where I hit the load button and it does nothing.

    I have closed down and restarted and it seems to work but this is very annoying....can someone please give advice or explanation as to why this is happening

    below is the code I have

    HTML Code: 

    thanks

    JJ
    Last edited by h_aesa1; 10-17-2009 at 09:28 AM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Loading list box - not working

    Hello JJ,

    If possible, please post your workbook. They maybe something else that is contributing to problem. Incomplete Sub or Function procedures are of little use in troubleshooting problems.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    02-09-2009
    Location
    Washington, US
    MS-Off Ver
    Excel 2003
    Posts
    73

    Re: Loading list box - not working

    Hi Leith,

    thanks for the response but there is no way to post the workbook.

    I think I found the issue though.

    Last night I was trying to search for something with Ctrl F on the Data sheet and it wouldn't find something I knew was in there. So I hit options and saw that the match entire cell contents was checked.

    I tried this a couple of times and it seems I had another piece of code that was checking the match entire, so when I typed in a business name (partial) it found no records.

    So I added this to the code
    HTML Code: 
    and it seems to be working.

    thanks

    JJ

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Load list box

    Your post does not comply with Rule 9 of our Forum RULES. If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit. And please never edit a thread in which someone else has responded.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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