How Do I Pass Data Between 2 UserForm's

  • Thread starter Thread starter Minitman
  • Start date Start date
M

Minitman

Greetings,

I am trying to pass data from a TextBox on UserForm1 to a Label on
UserForm2. At this point UserForm2 cannot see the TextBox on
UserForm1. How can I accomplish this?

TIA

-Minitman
 
If both forms are in memory, you can reference with

Label1.Caption = Userform1.Textbox1.Text

on userform2, or

Textbox1.Text = Userform2.Label1.Caption

on userform1

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)
 
Back
Top