+ Reply to Thread
Results 1 to 3 of 3

User form and VBA

  1. #1
    Registered User
    Join Date
    09-21-2016
    Location
    New York
    MS-Off Ver
    2010
    Posts
    9

    User form and VBA

    Hi Everyone! I was hoping someone could help me with something? Please. I am very inexperienced with VBA and am trying to create a user form that will pull data from a table. Basically what I would like to do is type into one field box and have all of the other fields populate. Right now my table is not very large but I will be expanding it. I created the table, a user form and a control button. I was able to get the control button to open the user form but I am unable to get the form to populate. I have searched and searched online for answers and I can't seem to figure it out. I'm certain to a seasoned VBAers it will be a no brainer. Thank you for any help you can offer. The spreadsheet is attached. Lisa
    Attached Files Attached Files

  2. #2
    Forum Expert torachan's Avatar
    Join Date
    12-27-2012
    Location
    market harborough, england
    MS-Off Ver
    Excel 2010
    Posts
    4,304

    Re: User form and VBA

    Your code should be in the UserForm module.
    Placed elsewhere you need to reference everything back to UserForm so pointless in a simple case such as this.
    File attached with modules removed and the basics needed in the UserForm.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-21-2016
    Location
    New York
    MS-Off Ver
    2010
    Posts
    9

    Re: User form and VBA

    Thank you. I figured it would be something an expert would look at and say...this is sooo simple. Again, thank you very much!!!

+ 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. VBA code to open a user form if the user form is located in an addin?
    By bresman in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-19-2019, 09:04 AM
  2. Upload inputs from a User Form repeatedly until the user clicks the red X on the Form
    By TheJimmyMcGill in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2019, 05:46 PM
  3. Populate text boxes on user form, from combo box on same user form
    By Richardswaim in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 07-03-2016, 09:35 AM
  4. [SOLVED] User Form to execute search and return all values to the user form for editing
    By allwrighty in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-11-2013, 10:40 PM
  5. [SOLVED] Excel vba user form- open directly to user form not worksheet
    By PANTECH in forum Excel Programming / VBA / Macros
    Replies: 26
    Last Post: 04-24-2013, 05:07 PM
  6. [SOLVED] Excel user form- If/Then statement outcome to show on user form
    By PANTECH in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-18-2013, 09:16 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