passing control value from one form to another form

M

mark kubicki

how can, on UserForm 2,
i reference a value of a control on a different user form
(UserForm1.TextBox1.value) ?

....UserForm2 is always made visible by a command button on UserForm1
 
V

Vasant Nanavati

Unless I'm missing something, exactly the same way you said:

UserForm1.TextBox1.value

Of course UserForm1 has to be open, even if hidden.
 
Top