Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP, Word, Outlook
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00240872
Message ID:
00241122
Views:
16
Todd,

Grab the formatted Word text using the FormattedText property of the range. I'm not sure if the Outlook object will directly support it though.

>I'm using VFP to drive Word and put together a long, complex document. The document has headers, bolds, tables, etc.
>
>Now I want to send this bad-boy through Outlook email. I can create the email easily enough but the Outlook email object only supports .Body = "Some text". This of course loses all of my formatting.
>
>Is there some way to get that Word document into the email message? If doing it manually, I'd highlight the Word document, Copy, and then Paste into the email. It loses some formatting but gets the job done. Is there a code equivlant for this?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform