I Have a series of command buttons on Sheet 1 which pass / call information from that W/s to corrsponding User Forms. I have an addtional command button on Sheet 1 which calls information from Sheet 2 into a different User Form (for the purpose of this enquiry - Form 6).
My basic (but growing) knowledge of VBA led me to create the following code to activate the User Form and call the informaton from Sheet 2.
Private Sub UserForm_Initialize()
Worksheets("Sheet 2").Activate
TextBox1.Value = Range("B21").Text
etc.....
However, this caused Form 6 to display on Sheet 2.
In time I am hoping to use a single sheet from which to call / display multiple User Forms , but for the present is there a simple way to instruct the Form 6 to open on Sheet 1 whilst calling the required information from Sheet2?
Thanks in advance
My basic (but growing) knowledge of VBA led me to create the following code to activate the User Form and call the informaton from Sheet 2.
Private Sub UserForm_Initialize()
Worksheets("Sheet 2").Activate
TextBox1.Value = Range("B21").Text
etc.....
However, this caused Form 6 to display on Sheet 2.
In time I am hoping to use a single sheet from which to call / display multiple User Forms , but for the present is there a simple way to instruct the Form 6 to open on Sheet 1 whilst calling the required information from Sheet2?
Thanks in advance