+ Reply to Thread
Results 1 to 5 of 5

Transferring Data from Userform Listbox to Drop-down list in Worksheet

  1. #1
    Registered User
    Join Date
    12-28-2011
    Location
    NJ
    MS-Off Ver
    Excel 2010
    Posts
    4

    Transferring Data from Userform Listbox to Drop-down list in Worksheet

    Hey guys!

    So my goal in this project is to create a userform that retrieves from the worksheet and also allows users to input data themselves from the userform and into an one column listbox on the userform. When the user is done entering in the data, the data is sent into the cell of their choosing (they enter in the row # themselves and it will always be column H), and creates a drop down list of the data they entered.

    So far, I have created the userform and with retrieve, erase a line from the listbox, and a "complete& close" buttons. I also have the listbox and the textboxes made. The "complete & close" button is where i look to transfer the data from the listbox from the userform into the drop down list.

    I'm not actually sure if this is possible, so I have been working my way around this problem. What I have now is that the listbox data transfers to a useless column on the worksheet in hopes to use that as the range for the drop-down lists. Unfortunately, I just realized that this would probably not work because the drop-down lists would change with the data in this column. Is there a way to make it so that once these drop-down lists are made, they no longer depend on the range and do not alter until the userform calls upon that particular cell again?

    I know this is a complicated problem, but please ask for you guys to help! I'm pretty much a novice in VBA and I don't completely understand the limitations of Excel VBA. Help would be much appreciated for this problem that has been giving me headaches for days.

    Thanks!
    Attached Files Attached Files
    Last edited by f5awp; 12-28-2011 at 11:04 PM.

  2. #2
    Registered User
    Join Date
    12-28-2011
    Location
    NJ
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Userform Listbox to Drop-down list in Worksheet

    anyone? I know it's kind of a lot to ask. But any help at all would be MUCH appreciated.

  3. #3
    Forum Expert Mordred's Avatar
    Join Date
    07-06-2010
    Location
    Winnipeg, Canada
    MS-Off Ver
    2007, 2010
    Posts
    2,787

    Re: Userform Listbox to Drop-down list in Worksheet

    Hi f5awp and welcome to the forum. Firstly, you need to give us time here at the forum as solutions to problems aren't always quickly provided. You waited just over an hour before you asked for help again on the same issue, and that's just too quick. Secondly, it would probably benefit you more to upload a workbook with non-sensitive data with a before and after scenario of your requirements. Doing so will remove most of the guess work by those that donate their time to help others.

    To attach a file to your post, you need to be using the main 'New Post' or 'New Thread' page and not 'Quick Reply'.
    To use the main 'New Post' page, click the 'Post Reply' button in the relevant thread.

    On this page, below the message box, you will find a button labelled 'Manage Attachments'.
    Clicking this button will open a new window for uploading attachments.

    You can upload an attachment either from your computer or from another URL by using the appropriate box on this page.
    Alternatively you can click the Attachment Icon to open this page.

    To upload a file from your computer, click the 'Browse' button and locate the file.

    To upload a file from another URL, enter the full URL for the file in the second box on this page.
    Once you have completed one of the boxes, click 'Upload'.

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

    Regards:
    If you're happy with someone's help, click that little star at the bottom left of their post to give them Reps.

    ---Keep on Coding in the Free World---

  4. #4
    Registered User
    Join Date
    12-28-2011
    Location
    NJ
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Userform Listbox to Drop-down list in Worksheet

    yeah sorry about that. It just seemed like the thread would get buried by other posts if no one responded soon. I didn't actually expect a solution that quickly.

    __________________
    here is the attached macro-enabled workbook. Here, you can see the userform that i made; it's pretty intuitive. Right now the data is being placed into one column in separate cells. What I hope to do is have it send the data into drop down lists in the "Tasks to be completed" column. As you can see, it is an issue log, so multiple users are going to be using it.
    Issue Log.xlsm


    Thanks for putting in the time to help!

  5. #5
    Registered User
    Join Date
    12-28-2011
    Location
    NJ
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Transferring Data from Userform Listbox to Drop-down list in Worksheet

    bump? when should i expect a response?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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