+ Reply to Thread
Results 1 to 3 of 3

Search for several values and highlight the row where they are located

  1. #1
    Registered User
    Join Date
    12-02-2013
    Location
    Miami
    MS-Off Ver
    Excel 2010
    Posts
    89

    Post Search for several values and highlight the row where they are located

    Hello All,

    I'm looking for help creating a macro, This is what is required:

    In my excel document there will be several columns with information, for example: in column A there will be numbers

    A
    22
    43
    66
    88
    95

    1 - When the macro runs I would like to appear a search box saying (Please enter the values) where I can put several numbers to be searched on at the same time (Ex: 22, 66, 95)

    2 - Once I click on (Search or Enter) I would like that the rows where the numbers are located get highlighted.

    3 - If when I do the search the rest of the rows that are not required can be hidden or just show the once from the search it will be helpful too.

    Thank you so much in advance. Please Help


  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Search for several values and highlight the row where they are located

    Does this help?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-02-2013
    Location
    Miami
    MS-Off Ver
    Excel 2010
    Posts
    89

    Re: Search for several values and highlight the row where they are located

    Thank you John for the quick response.

    It worked but there is something when I do the search that is not working properly, maybe I'm doing something wrong.

    these are the numbers I have in column A

    2
    5
    22
    42
    55
    62
    43
    82

    When I run the macro I search for these 2 values: 55, 22

    instead of just displaying those 2 values only, it will also include the number 2 and 5, also no matter the search you do the number 2 is always there.

    Is there a way this can be fixed in order to see only the values enter in the search box

    Thanx

+ 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. Need a macro to search for the data located in another sheet
    By misterno in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-25-2015, 10:50 PM
  2. [SOLVED] Search for a value in a workbook, and return the Spreadsheet name where it was located.
    By Quilie19 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-04-2015, 05:51 PM
  3. Create userform for search in other excel file that located in server
    By deq77 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-29-2013, 11:30 PM
  4. Replies: 2
    Last Post: 03-26-2012, 07:12 PM
  5. Search in excel by date located in a cell
    By Btobin0 in forum Excel General
    Replies: 6
    Last Post: 05-27-2006, 10:25 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