+ Reply to Thread
Results 1 to 3 of 3

Compare value in Combobox to Instr value

  1. #1
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Austin
    Posts
    660

    Compare value in Combobox to Instr value

    Hi all,

    I want to match an item in an combobox list with an instring value.
    If a match is found then the i want the combo box set to the index number
    for the matching item/text.

    Here's my attempt to show what I'm needing:

    Please Login or Register  to view this content.


    Any help is appreciated.

    Thanks,

    BDB
    Last edited by bdb1974; 07-27-2010 at 03:03 PM.

  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,258

    Re: Compare value in Combobox to Instr value

    Hello BDB,

    If I understood you correctly then this how your code would be. You should get in the habit of setting the arguments when using the Find method. Many of these arguments retain their value in the system once they have been set. Failing to do so may cause your search results to be incorrect.
    Please Login or Register  to view this content.
    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
    Forum Contributor
    Join Date
    12-10-2008
    Location
    Austin
    Posts
    660

    Re: Compare value in Combobox to Instr value

    Thanks Leith,

    That was exactly what I needed.

    ...only if that solved all my problems..

    .... one step forward and many more to go.


    BDB

+ 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