+ Reply to Thread
Results 1 to 6 of 6

Find and display (go to) exact values (Macro)

  1. #1
    Registered User
    Join Date
    07-26-2014
    Location
    LATVIA
    MS-Off Ver
    Office 2007
    Posts
    19

    Find and display (go to) exact values (Macro)

    Hi there,

    I want to create a macro, that looks for a specific value in a column

    For example

    Sheet1, cell A:1 is the cell where you enter the search data

    Column B is a column wheres the data taken (values are stored)


    what i want to get is when you type "xyz123" in cell A:1 and hit the Control button for macro next to it, it checks entire column B for exact match of "xyz123" value

    If value find then this cell must be selected.

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Find and display (go to) exact values (Macro)

    Hi there,

    Try using the following code which should be entered in a standard VBA CodeModule:

    Please Login or Register  to view this content.
    Hope this helps - please let me know how you get on.

    Regards,

    Greg M

  3. #3
    Registered User
    Join Date
    07-26-2014
    Location
    LATVIA
    MS-Off Ver
    Office 2007
    Posts
    19

    Re: Find and display (go to) exact values (Macro)

    Thank you very much, will test this soon. Also will post the result here.

  4. #4
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Find and display (go to) exact values (Macro)

    A slightly different approach in solving your problem.

    Please Login or Register  to view this content.
    Alf

  5. #5
    Registered User
    Join Date
    07-26-2014
    Location
    LATVIA
    MS-Off Ver
    Office 2007
    Posts
    19

    Re: Find and display (go to) exact values (Macro)

    Alf,

    Brilliant! Exactly what i needed. Simple and sharp as a katana sword.
    You're really a forum expert!
    Last edited by Soilwork; 12-08-2014 at 03:10 PM.

  6. #6
    Forum Expert Alf's Avatar
    Join Date
    03-13-2004
    Location
    Gothenburg/Mullsjoe, Sweden
    MS-Off Ver
    Excel 2019 and not sure I like it
    Posts
    4,758

    Re: Find and display (go to) exact values (Macro)

    You are welcome.

    Thanks for feed back and rep.

    Alf

+ 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. Replies: 7
    Last Post: 06-21-2014, 06:01 PM
  2. Take A Value and find all the Exact Values in Another Sheet
    By basketball2524 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-16-2014, 02:57 PM
  3. [SOLVED] Using SEARCH or FIND with exact values
    By Flash_82 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-08-2014, 11:32 AM
  4. vba: find command, finding exact values
    By icylemontea in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-11-2010, 02:48 PM
  5. find exact values of SQRT
    By big_ears in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-12-2006, 03:00 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