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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy data to buffer 1

Status
Not open for further replies.
Apr 23, 2002
39
US
My users have a requirement to extract certain data elements and email them to another out of state office. They have been typing them, but I would like to simplify this to a button click, then paste in the email. My question, how can I build a multi-line formatted string, and copy it to the buffer, so it can be pasted?

myStr = [Course Name].value
CopyToBuffer(myStr)

Thanks,
Don in Phoenix[shadeshappy]
 
What you need is SendObject.

[tt]strText = "Text" & "More Text" & vbCrLf & "Text Here"
DoCmd.SendObject acSendNoObject, , , "ToHere", , , "Re: Data", strText, True[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top