+ Reply to Thread
Results 1 to 2 of 2

Help: Search data in worksheet and display the data in userform text boxes

  1. #1
    Registered User
    Join Date
    12-10-2013
    Location
    INDIA
    MS-Off Ver
    Excel 2007
    Posts
    1

    Help: Search data in worksheet and display the data in userform text boxes

    I have an excel workbook containing 3 sheets. In sheet 1, I have a table (Part Number, Description, Price). I have created a userform and want to have a search option in it. Whenever I enter the part number (Full or partial) and press search button in userform, the data should be searched in sheet 1 and search results should be displayed in textboxes in userform. Here is my form layout:


    FormLayout.jpg

    Here is my Code:

    Please Login or Register  to view this content.
    The above CODE works only if I explicitly mention the part number (Eg: "2502" or "3306") in find(What:= ) of find command.

    1. Where Am I going wrong ?
    2. I want to retain the formatting as in sheet1
    3. Why Am I getting no search results for code 1 ?


    Thanks and Awaiting help !!

    Moderator Note:

    Pls use code tags around your code next time as per forum rules.
    Last edited by Fotis1991; 12-10-2013 at 05:09 AM.

  2. #2
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Help: Search data in worksheet and display the data in userform text boxes

    Not sure if this would help, try changing to:
    Please Login or Register  to view this content.

+ 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] Make user enter data into one of two text boxes in a userform
    By bberger1985 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-07-2013, 11:39 AM
  2. 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
  3. 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
  4. Do a search, display results in a userform with the ability to copy selected data.
    By blkmagik in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-05-2011, 04:40 PM
  5. Display Cell Data in titles/Text Boxes on Charts
    By Neil Perry in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-20-2005, 04:06 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