refer to one userform from another

  • Thread starter Thread starter Dirk Nachbar
  • Start date Start date
D

Dirk Nachbar

I want to refer to the textbox value of a userform from another
userform (which follows onto the first one). At the moment it doesn't
seem to work (with first.value), does it have to with the private
sub?

Dirk
 
Should be able to use

TextBox2.Text = Userform1.TextBox1.Text

as long as userform1 is still in memory., i.e. hasn't been unloaded

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Bob

Thanks a lot. That was the solution, I forgot the 'UserForm1.'

Dirk
 

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

Back
Top