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!

Copying a file to clipboard like Windows Explorer.

Status
Not open for further replies.

Kraeg

Programmer
Jun 27, 2002
113
AU
In Windows Explorer, copying a file (right-click... copy, ctrl-c, etc.) then pasting into an e-mail inserts that file as an attachment.

Is there anyway this can be accomplished using VBA?

At the moment my VBA code sends the file and path name of the file to send as a string to the clipboard, then the user uses "Insert.... File" in the e-mail message to insert it as an attachment. I want them to be able to just paste in the new e-mail window and have the file be attached.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top