Code to copy text from one text box to another

hollyLAS

New member
Local time
Yesterday, 16:49
Joined
Jul 2, 2010
Messages
6
Trying to copy text from a text box into another text box using a command button. Tried to do it but nothing happens :confused: HELP
Does anyone know the code?

Thanks
 
Try this:
Me.[TextBoxName1] = Me.[TextBoxName2]
 
nothing happened? do I need any additional information?

Thanks
 
Well, I did replace the names but I'm absolute newbe in programming and never done anything like this before. Should we start from the beggining?

I've inserted the comman button. In properties went into Event Procedure and on 'click on' added this command.. Is that totally wrong? Should I do something completely different?

Thank you!
 
The OP explained how they did it, it's in the thread, please read it again and you will see...

That did not work for me
15876117696894557253048923958624.jpg
 
The OP explained how they did it, it's in the thread, please read it again and you will see...
Ok...now it work just that I can't see it's the other way round....but please, if I want to copy multiple text boxes to multiple others, how do I do it
 
Just copy that line of code you've already got in the subroutine and paste it in underneath. Repeat for the number of controls that need to be copied from, to,. Then replace the names as appropriate.
 

Users who are viewing this thread

Back
Top Bottom