I hope I can make this make sense....
I have two buttons named cmdButtonOne and cmdButtonTwo and two text fields named txtOne and txtTwo, and one text field named txtInput.
what I want is the user inputs text into txtInput and when they click one of the buttons it puts the text into the apropriate txtfield(txtOne or txtTwo depending on what button they click)
here is the code I have at the moment(I have tried everything possible tonight)
Private Sub cmdOne_Click()

Static strInput As String
'set property of txtOne to strMain

strInput = txtMain.Text

If strInput = "" Then
txtOne.Text = txtInput.Text
Else
txtOne.Text = strInput
End If
'clear txtInput
txtInput.Text = ""
End Sub

I tried to dim the strInput in (general)but I couldn't get it to work...I can get this to work by not using the dim or static variable it is not as efficiant.
I hope this made sense.
Thanks to anyone who helps out.
Pnj