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

Copy to Clipboard

Status
Not open for further replies.

ottograham

Technical User
Mar 30, 2001
109
US
How can I take multiple fields and copy them to the clipboard with a pushbutton?

For example, I want a Click event to do the following
Dim str as String
str = [TradeName] & vbcr & vblf & [Address] & vbcr & vblf & [City-st-zip]

THEN copy str to the clipboard to paste in a Word document.

Also, if there a quick error trap around empty fields other than an If Then seeing if they are empty?

Thanks
 
Dear Databaseguy:

Thanks for the reply but you didn't answer the question.

Can I put the contents of the variable str into the Clipboard, and if so, how?

Mail Merges take too long for quick letters that I need to get out. Tell me more about instantiating a Word document and populating it with bookmarks (it sounds like a mail merge to me).

Thanks in advance

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top