How do get the results of a label (Label2) on Multi-page 2 to automatically enter the display label2 results in a textbox on multi-page 1?
Thanks
How do get the results of a label (Label2) on Multi-page 2 to automatically enter the display label2 results in a textbox on multi-page 1?
Thanks
Move the event into the Textbox1 Event.
[VBA]Private Sub TextBox1_Change()
Label2.Caption = TextBox1
TextBox2.Text = Label2.Caption
End Sub[/VBA]
You could move it into the Multipage event.
[VBA]Private Sub MultiPage1_Click(ByVal Index As Long)
TextBox2.Text = Label2.Caption
End Sub[/VBA]But why would you?
David
Hi tin,
your code works, but i tried to adapt your code to my code, but doesn't work. I'm using a button to run calculation. The results are display in label2. I would label2 caption to dispaly in textbox2. I've updated the form to reflect this. Can you assist. thanks
does anyone have a solution?? thanks
bump
I think you are still confused about events.
Whatever object starts the action, you have to move the code to that event.
In your second, different userform, the code has to be moved to the commandbutton.
Last edited by Tinbendr; 07-15-2010 at 09:54 AM.
David
got it..thank you