Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copying onto seperate lines?

Status
Not open for further replies.

TSComp

Programmer
Joined
Feb 18, 2002
Messages
7
Location
GB
Hi,

Is there a way, using the 'Clipboard.SetText' command, to copy text from several text boxes, and when the data is pasted, for it to appear on seperate lines?

Ive tried 'Clipboard.SetText FirstLine.Text & SecondLine.Text' , but when this is pasted it just appears as one line. i.e, TextinFirstLine TextinSecondLine
and not
TextinFirstLine
TextinSecondLine
as needed.

Thanks,

Tom.
 
try

Clipboard.SetText FirstLine.Text & vbcrlf & SecondLine.Text
 
try

Clipboard.SetText FirstLine.Text & vbcrlf & SecondLine.Text
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top