+ Reply to Thread
Results 1 to 1 of 1

Searching of cells containing 2 strings

Hybrid View

  1. #1
    Registered User
    Join Date
    01-25-2006
    Location
    Poland
    Posts
    9

    Searching of cells containing 2 strings

    Hi,

    I'm asking for help with below.

    I'm trying to make a macro, which will:
    - take "word1" from inputbox
    - take "word2" from inputbox
    - search cells in column C in point of occurence of word1 and word2 together in cell
    - select rows with cells matching criteria and copy to another sheet.

    Using pseudocode I think it should be like this:

    inputbox1 = word1
    inputbox2 = word2
    cell C2 select
    if find (word1) = true and find (word2) = true then copy row C else goto C3
    if find (word1) = true and find (word2) = true then copy row C else goto C4
    ...
    I assume the answer lies in this thread: http://www.excelforum.com/excel-prog...ple-words.html but don't know how to modify this macro.

    Any help would be much appreciated.


    Resolved
    Last edited by Makafi; 11-10-2009 at 05:22 PM. Reason: resolved

+ 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