Results 1 to 4 of 4

search for multiple words in a string

Threaded View

pcbpinoy search for multiple words in... 10-28-2011, 02:51 AM
nilem Re: search for multiple words... 10-28-2011, 03:05 AM
pcbpinoy Re: search for multiple words... 10-28-2011, 03:11 AM
nilem Re: search for multiple words... 10-28-2011, 04:03 AM
  1. #1
    Registered User
    Join Date
    10-18-2011
    Location
    KamoteLand
    MS-Off Ver
    Excel 2007
    Posts
    6

    search for multiple words in a string

    I was trying to search at least two words in a string then execute a code. For example, I have

    string = "CD_HJ_TY_AB"

    Here's what I like to accomplish:
    1. Find AB and CD
    2. If found, do something. Else do nothing.

    I tried to use Instring() and AND but I can't get it working.
    Any suggestions?
    Last edited by pcbpinoy; 10-28-2011 at 04:29 AM. Reason: solved..

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