If I understand your question correctly, the following -
Private Sub txtString_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
Form2.txtString.Text = txtString.Text
End If
End Sub
AndreRet
Senior Poster
3,922 posts since Jan 2008
Reputation Points: 334
Solved Threads: 350
Your question is not that clear...
if you're saying a string value with a newline you can do this:
Form2.txtDestination.Text = "My string value" & vbCrLf
-> if it doesn't work with
vbCrLf
, then try
vbNewline
PoisonedHeart
Junior Poster in Training
57 posts since Jul 2009
Reputation Points: 14
Solved Threads: 14
It's a pleasure of helping!...Goodluck!!
PoisonedHeart
Junior Poster in Training
57 posts since Jul 2009
Reputation Points: 14
Solved Threads: 14