+ Reply to Thread
Results 1 to 5 of 5

Copying pop up userform value to a textbox

  1. #1
    Forum Contributor
    Join Date
    05-14-2019
    Location
    Alex, Egypt
    MS-Off Ver
    365
    Posts
    254

    Copying pop up userform value to a textbox

    Hello everyone

    I have useform named "maintenancen" with textbox , when this textbox is clicked another userform with calender pops up
    as shown in picture

    Date.png

    textbox name "DE" Calender userform name "frmCalendar"

    the code in the maintenancen userform

    Please Login or Register  to view this content.
    The problem here is that when selecting a date from the pop up form, i need the selected value to be copied to the textbox "DE16". but it still blank

    any help with that ?
    thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,517

    Re: Copying pop up userform value to a textbox

    Please Login or Register  to view this content.
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  3. #3
    Valued Forum Contributor
    Join Date
    06-02-2012
    Location
    London, England
    MS-Off Ver
    365
    Posts
    397

    Re: Copying pop up userform value to a textbox

    Change the line in red below to the one in sintek's post above:
    Please Login or Register  to view this content.
    B.

  4. #4
    Forum Contributor
    Join Date
    05-14-2019
    Location
    Alex, Egypt
    MS-Off Ver
    365
    Posts
    254

    Re: Copying pop up userform value to a textbox

    ops thanks that was dumb from me


    Could u please help me with samefor below

    to pop up userform1 when clicking textbox named (tst)

    i used below code

    Please Login or Register  to view this content.



    errrrrrrrrrr.png

    Excuse my VBA ignorance
    Attached Files Attached Files

  5. #5
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,517

    Re: Copying pop up userform value to a textbox

    Please Login or Register  to view this content.

+ 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. Trouble copying data from worksheet into TextBox on Userform
    By chrisellis250 in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 04-20-2017, 07:39 AM
  2. [SOLVED] Excel 2010 - Userform - display date from textbox in a label or textbox in 'ddd' format
    By theshybutterfly in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2015, 10:54 PM
  3. Replies: 1
    Last Post: 11-11-2014, 09:23 PM
  4. Replies: 23
    Last Post: 07-12-2014, 07:09 PM
  5. Userform Textbox updating a another userform textbox (im stuck!!)
    By wapwap in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-31-2011, 02:56 PM
  6. Copying userform data in textbox into cells
    By dowinterfor6 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-21-2011, 02:10 PM
  7. [SOLVED] Copying TextBox entry from one UserForm to another
    By excelnut1954 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-23-2006, 03:15 PM

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