I have set up a userform with a command button and a text box. when the command box is clicked it shows a second userform using userform2.show. The second userform also contains a comand button and text box. Is there a way to make it so that when the second userforms command button is clicked the data in its text box is entered into the text box in the first useform and the second userform unloads. thanks
Hi tdsmith
Try
Where CommandButton1 is on UserForm2.VB:Private Sub CommandButton1_Click() UserForm1.textbox1 = Me.textbox1 Unload Me End Sub
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks