+ Reply to Thread
Results 1 to 6 of 6

User form with Index Match for 2 input boxes

  1. #1
    Registered User
    Join Date
    04-29-2015
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    82

    User form with Index Match for 2 input boxes

    Good Afternoon,

    I'm hoping you can help. I have a user form which has the entries, First name, Last name and Job Title. I'd like the Job title to be filled in from my "Starters" tab as the data is already in there.

    this is the code I'm currently using.

    Please Login or Register  to view this content.
    When I input the data into Textbox1 (this is First name) and the data into Texbox2 (Surname) then I'd like Textbox3 (Job Title) to autofill from the Starters tab.

    Please help?

    Thanks!

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: User form with Index Match for 2 input boxes

    Quick question, is the code you posted supposed to be for textbox 2 or 3?
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Registered User
    Join Date
    04-29-2015
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    82

    Re: User form with Index Match for 2 input boxes

    Hi, sorry it would be textbox3 as I want textbox3 to auto fill once textbox1 and textbox2 are completed.

    I can currently do this in formulae
    Please Login or Register  to view this content.
    but I'm trying to essentially get this formula to work on VBA where A77 in this is textbox1 and B77 is textbox2.

    I hope that explains it?

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: User form with Index Match for 2 input boxes

    I asked that question because your code in your first post is for textbox2, not textbox3. Now, it's possible that I am missing something, and I am just confusing myself.

  5. #5
    Registered User
    Join Date
    04-29-2015
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    82

    Re: User form with Index Match for 2 input boxes

    Hi, you're not missing anything, I'm pretty tired and my brain just gave up.

    The only thing I can do is try to explain to the best of my ability.

    I have a user form with 3 text boxes.

    Textbox1 = First Name
    Textbox2 = Surname
    Textbox3 = Job Title

    What I'm looking for is when First Name and Surname is entered, it will provide the job title automatically. That way I don't have to have the user filling out information that is already located in the spreadsheet.

    I know how do do this function with formulae but I can't seem to get it to work with VBA.

    Please Login or Register  to view this content.
    Thanks!

  6. #6
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: User form with Index Match for 2 input boxes

    Is it possible for you to post a a sample workbook with your code and userform in it?

+ 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. Pop-up boxes that require input from user (exel vba)
    By Jón Ingi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-09-2014, 04:59 AM
  2. populating list boxes and combo boxes in a user form.
    By ahceinaej in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-10-2014, 11:54 AM
  3. Data Input Form with number of line items based on user input
    By j_gideon in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2013, 02:54 PM
  4. Need VBA for INDEX MATCH where user selects all variables from Input Box
    By rrcrbnsn07 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-27-2013, 02:43 PM
  5. vba excel user form restrict input on user textbox
    By samz93 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-04-2013, 04:38 PM
  6. [SOLVED] User Input Boxes
    By downhilsheep in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-25-2012, 09:55 AM
  7. popup boxes/user input
    By papermoon in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-20-2010, 10:59 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