+ Reply to Thread
Results 1 to 7 of 7

send data from userform combobox to userform combobox

  1. #1
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    747

    send data from userform combobox to userform combobox

    hi
    have looked through quite a few threads and have not seen help with this,can you enter data in one useform combobox and textbox and send or copy to a different userform and textbox,was going to use as a log in screen
    cheers colin
    Last edited by cfinch100; 05-18-2013 at 04:14 PM.

  2. #2
    Forum Guru mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,230

    Re: send data from userform combobox to userform combobox

    Code like this should work

    Please Login or Register  to view this content.
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  3. #3
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    747

    Re: send data from userform combobox to userform combobox

    hi
    tied thay does not seem to work ,thought id try send to sheet first then populate userform from there
    cheers colin

  4. #4
    Valued Forum Contributor Charles's Avatar
    Join Date
    02-10-2004
    Location
    Biloxi
    MS-Off Ver
    Windows 7, Excel 2003,2007 & Mac2011
    Posts
    845

    Re: send data from userform combobox to userform combobox

    HI,

    I think you need both userform to be active.
    If you need more than 1 userform open I think you need to set the property of the userform's
    "Showmodal" to false.
    Charles

    There are other ways to do this, this is but 1 !
    Be Sure you thank those who helped.
    IF YOU'RE SATISFIED BY ANY MEMBERS RESPONSE TO YOUR ISSUE PLEASE USE THE STAR ICON AT THE BOTTOM LEFT OF THE POST UNDER THEIR NAME.

  5. #5
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    747

    Re: send data from userform combobox to userform combobox

    hi charles
    thanks for that think i have sorted now,one thing in the last code you sent cmdadd some have .value and some have ,text you had done combo1 and combo2 but these were slightly different could you let me know which to use
    cheers colin

  6. #6
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    747

    Re: send data from userform combobox to userform combobox

    hi all
    used this to send from userform to sheet5
    Please Login or Register  to view this content.
    use command button on userform1
    then added 2 textboxes to frmissued and put
    Please Login or Register  to view this content.
    in the userform_initialise
    this works well
    hope it helps some one else have added program
    cheers colin
    Attached Files Attached Files
    Last edited by cfinch100; 05-18-2013 at 04:18 PM.

  7. #7
    Valued Forum Contributor Charles's Avatar
    Join Date
    02-10-2004
    Location
    Biloxi
    MS-Off Ver
    Windows 7, Excel 2003,2007 & Mac2011
    Posts
    845

    Re: send data from userform combobox to userform combobox

    Hi,

    For the "cmdAdd" if you are sending data to a cell it should be ".Value".
    Now for the combobox code in the "cmdAdd". Use the "Me." for the ref to the userform. My error for not verifying. So use combobox1 format.

+ 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