Control Code to copya Value from a text box to another

B

Bob V

2 Unbound text boxes what code do I need in the control for [TextboxB] to
copy [TextboxA]
Thanks for any help...............Bob
 
S

Smartin

2 Unbound text boxes what code do I need in the control for [TextboxB] to
copy [TextboxA]
Thanks for any help...............Bob

In the code for TextboxA (not TextboxB) capture the TextboxA Exit
event, e.g.,

Private Sub TextboxA_Exit(Cancel As Integer)
TextboxB.Value = TextboxA.Value
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top