How about:
That would put the txtInput into appropriate textbox (textone or texttwo) depending on what button the user pressedCode:Private Sub cmdButtonOne_Click() txtOne.Text=txtInput.Text End Sub Private Sub cmdButtonTwo_Click() txtTwo.Text=txtInput.Text end Sub




Reply With Quote