Hi
Thanks for you answer but that's not what I am looking for!
I want to send a keystroke to another object and not capture keystrokes!
Sven
"Donald" <St**************@cox.net> schrieb im Newsbeitrag
news:t5JQb.31565$Mb7.22482@lakeread04...
If Asc(e.KeyChar) = 13 Then
' Place code here
End If
Put that in thje keypress sub of the textbox, should work then.
Later.
"Sven" <f> wrote in message news:On**************@TK2MSFTNGP09.phx.gbl... I want this:
when I press commandbutton1, then the program should send the keystroke
"enter" to text1.text... how can I do this?