+ Reply to Thread
Results 1 to 3 of 3

Search button on an USERFORM

  1. #1
    Registered User
    Join Date
    09-05-2012
    Location
    Montreal QC
    MS-Off Ver
    Office 365
    Posts
    26

    Search button on an USERFORM

    HI there, I've been working in a project for my company, I have been receiving so much help from this forum, is amazing how people can be so kind!..I'm stuck again and I decided to ask again for some help, my code is working find but I need to have a search button, basically if you see the attachments you will found an excel file with a User-form on it, I use that to run a mail merge, I need to be able to search the excel spreadsheet and find info already in, populate that in my user-form and finally be able to send it back to the excel, all is OK but my search button is not, I'm not an expert, I used a code I found in another thread..If someone can help will be much appreciate it!
    Attached Files Attached Files

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Search button on an USERFORM

    A little more basic approach to "setting a range" then using one of the properties of the found range. In this instance we set the range then use the .Row property to grab data from that row in specific columns.
    Please Login or Register  to view this content.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    09-05-2012
    Location
    Montreal QC
    MS-Off Ver
    Office 365
    Posts
    26

    Re: Search button on an USERFORM

    Thanks for the Code, works perfectly!!!..Problem solved!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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