+ Reply to Thread
Results 1 to 8 of 8

Show the name of the sheet next to each search result

  1. #1
    Registered User
    Join Date
    05-03-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    23

    Show the name of the sheet next to each search result

    Hello All,

    I have the attached workbook. On the "Results" sheet, pressing one of the 4 buttons at the top left will search the other 2 sheets in the workbook for rows that contain a certain value ("Awaiting Parts", "Awaiting LCMM", "Metal Shop" or "Refinishing Shop") in column O on the other sheets. It works great how it is and displays all results correctly. The only thing that i would like to add to this is to add another column on the "Results" sheet (Column S) that would display the name of the sheet that the result was found in (e.g. Battery Shop or Face 2 Pod).

    Any help would be greatly appreciated.

    Thanks,
    Cedric


    Password to unprotect sheets or access vba code is: avso
    Attached Files Attached Files

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Show the name of the sheet next to each search result

    Hi Cedric,

    Try adding this under your copy-paste line:

    Please Login or Register  to view this content.
    BTW - your sample is password protected.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    05-03-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Show the name of the sheet next to each search result

    Hi, thanks for your reply. The password is: avso

    Where exactly do i paste this code? I'm not quite sure.

    Thanks so much

  4. #4
    Registered User
    Join Date
    05-03-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Show the name of the sheet next to each search result

    it's all good buddy. I figured it out. Thanks so much for your help.!!!!

  5. #5
    Registered User
    Join Date
    05-03-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Show the name of the sheet next to each search result

    One more thing if you dont mind.....I would like for the "Item Name" in each search result to be a hyperlink, that would take the person to the sheet and row that the search result was found in, when they click the link. I would also like to have that row be selected on the sheet where the search result was found in.

    Thanks,
    Cedric

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Show the name of the sheet next to each search result

    Hi Cedric,

    You can play with this - a right-click in the Results sheet should remove its protection then a double-click on the SheetName + Row in columns S should direct you to the SheetName + Row Column O entry - you may need to double double-clickCedric.xlsm

  7. #7
    Registered User
    Join Date
    05-03-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    23

    Re: Show the name of the sheet next to each search result

    Thanks so much! you're awesome!!!

  8. #8
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Show the name of the sheet next to each search result

    You're welcome!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA Code - Search text & search number & search qty and result - Urgent Please
    By naresh73 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-15-2014, 10:51 AM
  2. Convert Text into multiple rows and search result in next sheet
    By Bathi Anusha in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-11-2014, 09:30 AM
  3. [SOLVED] Create List of results from a input search, select desired result, paste into worksheet
    By EddieRubi in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-25-2014, 02:59 AM
  4. Search database using userform return result in another sheet
    By ankuagarwal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-13-2013, 04:19 AM
  5. Replies: 3
    Last Post: 11-05-2008, 10:44 AM

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