+ Reply to Thread
Results 1 to 3 of 3

Userform that looks up up data from main worksheet

  1. #1
    Forum Contributor
    Join Date
    10-25-2016
    Location
    Derby, England
    MS-Off Ver
    MS 2013
    Posts
    228

    Userform that looks up up data from main worksheet

    Hi,

    Please would someone help me?

    I copied a Userform textbox search form off youtube and it worked fine for the first few days. Now though its not working.

    When I enter a process number in the textbox and press enter it just comes up with my message that is there to warn the user if the process number is wrong or has been inputted incorrectly.

    Please could someone take a look at the "Search" code and tell me whats gone wrong with it.

    The "Clear" and "Close" buttons still work correctly.

    Any help would be much appreciated.

    Kind Regards
    Dan
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Userform that looks up up data from main worksheet

    Replace your current CommandButton1_Click code with the below one

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    10-25-2016
    Location
    Derby, England
    MS-Off Ver
    MS 2013
    Posts
    228

    Re: Userform that looks up up data from main worksheet

    Hi SixthSense,

    your code has worked perfectly, Thank you.

    Kind Regards

    Dan

+ 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. Exit Userform to return to main code, but keep userform open
    By jombler74 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 09-04-2014, 04:01 AM
  2. [SOLVED] Need to copy all data from worksheet that are labeled with a Month to main worksheet
    By welch1198 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-31-2014, 09:17 AM
  3. [SOLVED] Copy rows from my main worksheet to another worksheet based on data in one cell
    By gcol in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 08-08-2012, 05:12 AM
  4. Copying specific data from main worksheet to another
    By Majeski in forum Excel General
    Replies: 1
    Last Post: 04-11-2012, 02:42 PM
  5. Choose data to populate main worksheet
    By rfcapinto in forum Excel General
    Replies: 5
    Last Post: 09-28-2011, 07:43 AM
  6. Distribute Data from One Main Worksheet to Several Other Worksheets
    By workingonit in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 01-06-2010, 04:23 PM
  7. adding a worksheet causes main userform to corrupt
    By Magius00 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-26-2005, 04:05 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