Pasting Excel data into outlook message body

J

jille

Hi,

I'm creating an outlook message from Word to automatically send some data
created in Excel that I've put in the clipboard. All I want to do is have
Outlook paste the contents of the clipboard into the body of the message.
What is the code to
paste?

Here's the code so far but I can't figure out how to paste:

Dim appOutlook As Outlook.Application
Dim OutlookMessage As Outlook.MailItem

Set appOutlook = CreateObject("Outlook.application")
Set OutlookMessage = appOutlook.CreateItem(olMailItem)
With OutlookMessage
.Subject = vEffectiveDate
.Body = appOutlook.Paste
.To = "(e-mail address removed)"
.Display
.Send
End With

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top