+ Reply to Thread
Results 1 to 3 of 3

Userform to search worksheet and display data back to the userform

  1. #1
    Registered User
    Join Date
    04-04-2015
    Location
    Ohio
    MS-Off Ver
    2010
    Posts
    2

    Userform to search worksheet and display data back to the userform

    Hi all,

    Back in this thread Leith created a wonderful way to search a worksheet and display the results in a list view on the userform.

    To get results from the search, one must have the exact term from the worksheet. What would have to be changed in the code for partial matches to show? As an example, currently I would have to type 118.565 to see all results containing 118.565. I would like to only have to search 18.56 to see any results that contain 18.56.

    Thanks in advance,

    Zip

    Edit: I am using version 1b
    Last edited by zip247; 04-05-2015 at 05:40 AM.

  2. #2
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: Userform to search worksheet and display data back to the userform

    In the code, change "xlWhole" to "xlPart"

    It's in this part:
    Please Login or Register  to view this content.
    Please click the * below if this helps

  3. #3
    Registered User
    Join Date
    04-04-2015
    Location
    Ohio
    MS-Off Ver
    2010
    Posts
    2

    Re: Userform to search worksheet and display data back to the userform

    Thanks for the quick reply jasper. I had just figured this out and was on my way to post that here when I saw you posted.

    BTW, I really love this site!!!!

    Zip

+ 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. Writing data from excel worksheet back to the same row through VBA userform
    By Jakeyboy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-13-2014, 08:01 PM
  2. Search worksheet for data in multiple textboxes in userform and display in another workshe
    By SierraKilo78 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-23-2013, 09:59 AM
  3. Help: Search data in worksheet and display the data in userform text boxes
    By RAB7 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-10-2013, 05:37 AM
  4. Search data from sheet & display in the userform
    By z-eighty2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2013, 01:08 PM
  5. Unable to search and display data from userform inputs
    By cedric06 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-11-2012, 12:46 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