+ Reply to Thread
Results 1 to 2 of 2

VBA for accept data on userform and display more data

  1. #1
    Forum Contributor
    Join Date
    07-08-2015
    Location
    Indiana
    MS-Off Ver
    Excel 2007
    Posts
    128

    VBA for accept data on userform and display more data

    Hi

    I am wondering if this is possible in VBA coding/excel. I have attempted a few tries with code, and I am not sure it is. I have a userform (from a button on sheet 2) that I want to accept data on the top half, from a drop down menu. From there I go to sheet 1 match the selected data and get the rest of the 5 columns of data . Then return to the userform and display the data retrieved from the 5 columns on the bottom of the userform.

    crude example:

    initals (from drop down menu from data is col 1 of sheet 1): sm, ad, lr, mb, kd

    select ad

    goto sheet 1, match ad and get data

    ad 112 w f 02 dis

    on bottom of userform display

    initals: ad
    no: 112
    race: white
    ***: female
    dept: 2 manufact
    status: disability

    I believe it is possible to do this, but I may be missing code to make the dropdown menu work

    Thanks

  2. #2
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: VBA for accept data on userform and display more data

    Hello scott micklo,

    A sample Workbook may make it better for us to get the Exact results you are after.

    Please attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

    Thank you.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

+ 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. Userform to display Log data; add, edit data, and navigate between records help
    By lfortis in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-20-2015, 08:11 PM
  2. [SOLVED] Userform to search worksheet and display data back to the userform
    By zip247 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-05-2015, 05:46 AM
  3. Replies: 0
    Last Post: 03-26-2015, 10:37 AM
  4. Help: Search data in worksheet and display the data in userform text boxes
    By RAB7 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-10-2013, 05:37 AM
  5. [SOLVED] 1 Userform that searches and display data in another userform
    By Mystojam in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-09-2013, 04:08 PM
  6. Display a UserForm based on Data selected in another UserForm's ListBox
    By RPhilbin83 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-26-2011, 11:35 AM
  7. Display data using label on userform
    By stoey in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 11-27-2008, 04:39 PM

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