+ Reply to Thread
Results 1 to 4 of 4

Find Function Not Searching Whole Cell, Only Start of Cell

  1. #1
    Registered User
    Join Date
    12-11-2013
    Location
    auckland
    MS-Off Ver
    Excel 2010
    Posts
    56

    Cool Find Function Not Searching Whole Cell, Only Start of Cell

    Hi All,

    So I must be overlooking something very simple in my code here but for the life of me I can't seem to remember what it is.....
    I have a search function that searches cells for data from an inputbox, and then highlights that entire row. It's working great if the string is at the start of the cell, not so great if it's somewhere in the middle.

    e.g. inputbox value = "123"
    that will highlight cell "123456" or cell "123 test" but not cell "test 123"

    I would really appreciate some advice on what part of the code needs adjusting so that I may go and start kicking myself.....

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    06-02-2012
    Location
    London, England
    MS-Off Ver
    365
    Posts
    397

    Re: Find Function Not Searching Whole Cell, Only Start of Cell

    Maybe this?
    Please Login or Register  to view this content.
    Beth.

  3. #3
    Registered User
    Join Date
    12-11-2013
    Location
    auckland
    MS-Off Ver
    Excel 2010
    Posts
    56

    Re: Find Function Not Searching Whole Cell, Only Start of Cell

    Hi Beth,

    This is it!! Thank you so much, I knew it was the smallest thing I was missing but for the life of me I couldn't see it. I owe you a coffee Have a great day!!

  4. #4
    Valued Forum Contributor
    Join Date
    06-02-2012
    Location
    London, England
    MS-Off Ver
    365
    Posts
    397

    Re: Find Function Not Searching Whole Cell, Only Start of Cell

    No problem at all. Happy to help

    Sometimes it just takes a new set of eyes.

    Beth.

+ 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. [SOLVED] If Cell=A, start looking down in row, find X and return C
    By artistapart in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-30-2016, 03:19 PM
  2. Replies: 2
    Last Post: 08-16-2013, 08:45 AM
  3. Replies: 0
    Last Post: 08-07-2013, 09:50 AM
  4. [SOLVED] Find, move to another cell on same line, insert value , and start all over again
    By Ioannis77 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-06-2013, 04:46 AM
  5. [SOLVED] Searching for Cell Content Larger than Find Function's Character Limit
    By spira in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-20-2012, 08:59 PM
  6. Searching multiple xlsx files to find all instances where cell K14<>0
    By hudwink in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-06-2011, 05:55 AM
  7. Cell-Color searching function
    By jrodri14 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-23-2010, 01:29 AM

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