-
I would suggest that you add a public Textbox variable to the second userform (or preferably, use a property procedure), and then assign the textbox you want populated to that variable when you show the second form - for example:
[code in Userform1]
[vba]
Dim frm as Userform2
Set frm = New Userform2
set frm.TextboxVariable = Me.Controls("asset")
[/vba]
then in Userform2
[vba]
Me.Textboxvariable.Value = "some text here"[/vba]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules