I've 2 text boxes and 2 command buttons. I want to pass the data gather by the 2 text boxes from one command button to the other. Here is my code.

Dim Textvalue As String

Private Sub Command1_Click()
Call GetTextValue(Passedvalue)
End Sub

Private Sub GetTextValue(ByVal Passedvalue As String)
Passedvalue = (Text1.Text) & (Text2.Text)
End Sub

Private Sub Command2_Click()
Call GetTextValue(Passedvalue)

End Sub

What did I do wrong?
Thanks
Beth