Results 1 to 8 of 8

Search query help required

Threaded View

  1. #1
    Registered User
    Join Date
    06-26-2009
    Location
    England
    MS-Off Ver
    Excel 2003
    Posts
    5

    Search query help required

    =PROBLEM SOLVED, thank you DonkeyOte=

    Hi there,

    I need a macro that can search through all of my worksheets bar the first one looking for the string given by the value of cell (sheet1,A,2). If it finds the string in sheet2 it should fill cell (sheet1,B,2) with the string "True". If found in sheet3, it should fill cell (sheet1,C,2) with "True", etc.

    Once it has done this, it should be able to loop and do the same for the string given in (sheet1,A,3), etc.

    Looking back on what I've just written I'm not sure how well I've explained myself, so I'll try to convey what I want done in pseudocode:

    For each cell (X) in sheet1,column1
            For each worksheet (Y+1) [discounting sheet1]
                     Seach for cellX.Value in sheetY+1
                               If found, sheet1,rowX,columnY+1 = "True"
            Next Y
    Next X
    Hopefully that'll explain what I want done and hopefully one of you macro-geniuses will be able to help me!

    Cheers!
    Last edited by Jimple Fish; 06-30-2009 at 08:38 AM. Reason: Problem solved - thanks to DonkeyOte

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