Hello, I have two userforms and I have a commandbutton on useform1 that calls for userform2. On userform1 I have a text value in textbox1 that I want to pass on to textbox1 on userform2 when it launches. I thought the code below should be all I need, but when I launch userform 2 the textbox remains blank. Did a couple of quick searches through the forum and this does seem to be the correct code. But I cant figure out what I am missing. Userform1 stays open while I have userform2 open, so it should still see the value in the textbox.... Should I not use the initialize event? I appreciate any input - Rick
Code:
Private Sub UserForm_Initialize()
Userform2.textbox1.Text = Userform1.TextBox1.Text
End Sub