+ Reply to Thread
Results 1 to 4 of 4

Search for Text and displaying the results

  1. #1
    Registered User
    Join Date
    04-18-2014
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Search for Text and displaying the results

    Hi,

    I'm trying to set up a system that searches for a string within a range of cells and displays all the results. So far I have been able to display only exact matches, but I'd like to display any matches within a string.

    I'm using this code which I found to search for text:
    Please Login or Register  to view this content.
    I've been trying different ways to check for text within the selected field, but can't seem to get it to work.

    Any help would be appreciated, thanks

  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 Text and displaying the results

    Maybe try:

    Changing this line:

    Please Login or Register  to view this content.
    To one of these?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-18-2014
    Location
    England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Search for Text and displaying the results

    That's perfect, thanks very much

  4. #4
    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 Text and displaying the results

    You're welcome. Glad to help out and thanks for the feedback.

+ 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] Search for Identifier in Column (different sheet) and Displaying Results in Specific Cells
    By Velocir in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2013, 11:37 AM
  2. [SOLVED] Finding and Displaying data results from search criteria
    By winlam in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-25-2012, 11:25 PM
  3. displaying search results after searching 2 cbo's
    By ncaravela in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-31-2010, 08:19 AM
  4. Displaying Search results (filtering?)
    By Klok in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-04-2009, 06:45 AM
  5. Displaying text along with formula results
    By jesterhs in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-17-2005, 03:00 PM

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