Consulting

Results 1 to 8 of 8

Thread: Transfering data from UserForm to specific cell

  1. #1

    Transfering data from UserForm to specific cell

    Hello, I new and I have dummy question! Remember I am new!

    I have created new UserForm with few comboBoxes. Data inside are from some lists on other Sheet.

    how to tell that picked value must be inserted to specific column on other Sheet?

    I have more ComboBoxes and I want to do that with all of them!

    Sorry for dummy Q!!

  2. #2
    VBAX Expert Tinbendr's Avatar
    Joined
    Jun 2005
    Location
    North Central Mississippi (The Pines)
    Posts
    993
    Location
    For instance...
    [vba]Worksheets(2).Range("A1") = ComboBox1.Value[/vba]

    David


  3. #3
    THX, that works fine for TextBox, but when I choose value in comboBox then i got FALSE entry...

  4. #4
    Knowledge Base Approver VBAX Guru GTO's Avatar
    Joined
    Sep 2008
    Posts
    3,368
    Location
    Greetings Ben,

    Welcome to the vbaexpress :-)

    Maybe attach an example wb with how you have the code now, or leastwise post the code. Use the [vba] '...your code[/vba] tags to post code.

    Mark

  5. #5
    Ok, I have solve that (I dont know how), but I have new proble:

    1. how to clear user form?
    2. how to put new entries to new row?

    Thx in advance!

  6. #6
    Knowledge Base Approver VBAX Guru GTO's Avatar
    Joined
    Sep 2008
    Posts
    3,368
    Location
    Quote Originally Posted by Ben Sherman
    Ok, I have solve that (I dont know how), but I have new proble:

    1. how to clear user form?
    2. how to put new entries to new row?

    Thx in advance!
    I think you may need to be a bit more descriptive. By 'clear user form', I suppose you mean clear comboboxes? The second question seems less clear.

    Please attach a small sample workbook with your userform and a description of what we are trying to do.

    Thanks,

    Mark

  7. #7
    VBAX Expert shrivallabha's Avatar
    Joined
    Jan 2010
    Location
    Mumbai
    Posts
    750
    Location

    See the attachment!

    There is one Excel File in the program named MTO_R1 which I had prepared.

    It has got a userform. It will provide you with many different cases to refer to.

    Here it is:

    http://www.vbaexpress.com/forum/showthread.php?t=32670
    Regards,
    --------------------------------------------------------------------------------------------------------
    Shrivallabha
    --------------------------------------------------------------------------------------------------------
    Using Excel 2016 in Home / 2010 in Office
    --------------------------------------------------------------------------------------------------------

  8. #8
    Thx, I have maid to do what I wont.

    Now I have UserForm from whitch users can load data to Excel, but there is problem when I moving up and down in excel (with form buttons serForm1.red.Value = UserForm1.red.Value - 1).

    I have values in excel in first 10 rows, but when I moving up and down my UserForm is empty! How can I make that already inputed data showing on my form?

    Thx in advanced!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •