+ Reply to Thread
Results 1 to 6 of 6

Get Data from UserForm (TextBox, ListBox) doesnt work

  1. #1
    Registered User
    Join Date
    10-08-2008
    Location
    Austria
    Posts
    45

    Get Data from UserForm (TextBox, ListBox) doesnt work

    Hi dear friends,

    I spent so long time to fix this problem, but it seems that I can't go on.

    I have a simple question. How can I get the data from the UserForm and use it in the worksheet?

    Everything works fine, only the UserForm makes problems

    Here is the code:

    Please Login or Register  to view this content.



    Thanks in advance, Boris
    Last edited by BorisMKD; 02-04-2010 at 06:26 AM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Get Data from UserForm (TextBox, ListBox) doesnt work

    Hi Boris,

    1. You are using Text Boxes to hold the languages, but the line
    Please Login or Register  to view this content.
    is looking for a non existent Text Box.

    2. You are using a Select Case fLanguage (and sLanguage), without first allocating a value to these two string variables.

    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    10-08-2008
    Location
    Austria
    Posts
    45

    Re: Get Data from UserForm (TextBox, ListBox) doesnt work

    I fixed only the 1. I deleted:
    Please Login or Register  to view this content.
    and did
    Please Login or Register  to view this content.
    How should I make the fLanguage & the sLanguage work?

    Thanks

  4. #4
    Registered User
    Join Date
    10-08-2008
    Location
    Austria
    Posts
    45

    Re: Get Data from UserForm (TextBox, ListBox) doesnt work

    Did it by myself.

    Thank you Mr. Richard Buttrey for Your help.

    The Code that Works:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-10-2013
    Location
    Ha noi
    MS-Off Ver
    Excel 2003
    Posts
    11

    Re: Get Data from UserForm (TextBox, ListBox) doesnt work

    can you send me done file, please.
    i have problem the same to you.

    Thank you so much
    Last edited by arlu1201; 01-15-2014 at 05:15 AM. Reason: Removed email to prevent spam.

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Get Data from UserForm (TextBox, ListBox) doesnt work

    Hi, and welcome to the forum. Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

+ 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