Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to copy the range value from an Excel sheet and paste it in Outlook mail body as formatted rich text format, Not in HTML b'cos it doesn't work in BB device, So RTF.

I have achieved HTML format as given in this below forum

http://stackoverflow.com//questions/10707491/copying-values-from-excel-to-body-of-outlook-email-vb-net[^]

But now I need to be pasted in formatted rich text format.

May be this works? Copy from Excel , Paste special with RTF in a Word, then copy from Word and paste it in Outlook mail, using VB.Net?

Experts, please help me in this regard.

Thanks
Allen
Posted
Updated 6-Apr-13 10:13am
v2
Comments
Maciej Los 6-Apr-13 16:17pm    
Copy from-to, from-to, from-to? What would it be?
Show your code to create outlook mail.
Which version of MS Outlook?

1 solution

MailItem[^] - object which represents mail message - has 2 interesting properties:
1) RTFBody[^]
and
2) HTMLBody[^]
You can use them to create formatted mail messages.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900