+ Reply to Thread
Results 1 to 5 of 5

vba: copy value of textbox to another textbox in another form

  1. #1
    Registered User
    Join Date
    06-12-2014
    Location
    Makati Philippines
    MS-Off Ver
    MS OFFICE 2010
    Posts
    58

    vba: copy value of textbox to another textbox in another form

    Hi All,

    i need you help with this project im starting.
    i need to be able to copy what ever name was typed in the fnametext (textBox1) from one userform (Start) to the fnameresult (textBox2) in another userform (Info).

    Would be very greatful for any immediate response/assistance.

    i've attached a sample file for you to see what im currently working at.

    test template.xlsm
    Last edited by saikong051; 08-13-2014 at 03:35 PM.

  2. #2
    Registered User
    Join Date
    06-12-2014
    Location
    Makati Philippines
    MS-Off Ver
    MS OFFICE 2010
    Posts
    58

    Re: vba: copy value of textbox to another textbox in another form

    i've already tried some of the codes in the forum.. but im getting blank result.

  3. #3
    Registered User
    Join Date
    06-21-2013
    Location
    Wiltshire, UK
    MS-Off Ver
    365 Version 2210 Build 16.0.15726.20070
    Posts
    72

    Re: vba: copy value of textbox to another textbox in another form

    So long as you do not close the first form (hide or cover with second form) you can reference it =formname.controlname
    Isskint, i get satisfaction out of helping others

  4. #4
    Registered User
    Join Date
    06-12-2014
    Location
    Makati Philippines
    MS-Off Ver
    MS OFFICE 2010
    Posts
    58

    Re: vba: copy value of textbox to another textbox in another form

    i've tried it but still getting Blank result. can you please check the attached file and please inform where do i need to put the codes and maybe help me too what codes should i be using.. i already removed the Unload Me code in my Start form.

  5. #5
    Registered User
    Join Date
    06-12-2014
    Location
    Makati Philippines
    MS-Off Ver
    MS OFFICE 2010
    Posts
    58

    Re: vba: copy value of textbox to another textbox in another form

    Hi,

    i was able to use the code

    Please Login or Register  to view this content.
    and it worked.

  6. #6
    Registered User
    Join Date
    06-12-2014
    Location
    Makati Philippines
    MS-Off Ver
    MS OFFICE 2010
    Posts
    58

    Re: vba: copy value of textbox to another textbox in another form

    Hi,

    i was able to use the code

    Please Login or Register  to view this content.
    and it worked.

  7. #7
    Registered User
    Join Date
    06-21-2013
    Location
    Wiltshire, UK
    MS-Off Ver
    365 Version 2210 Build 16.0.15726.20070
    Posts
    72

    Re: vba: copy value of textbox to another textbox in another form

    Nice to see

+ 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. [SOLVED] Copy First Three Letters Of Some Textbox And Paste It to Another textbox
    By vijaynadiad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-19-2013, 01:08 PM
  2. [SOLVED] Copy First Three Letters Of Some Textbox And Paste It to Another textbox
    By vijaynadiad in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-08-2013, 03:46 PM
  3. VBA - Macro Code to copy textbox text to another worksheet textbox
    By nitram lowm in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-05-2013, 08:39 AM
  4. Macro to copy textbox data to a duplicate textbox in another worksheet
    By nitram lowm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-02-2013, 06:10 AM
  5. Copy cell data and paste it into textbox on form
    By jpruffle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-03-2009, 09:33 AM

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