Copy or Stream Word Documet into Email Body.

kakiskakis Member Posts: 7
edited 2014-11-06 in NAV Tips & Tricks
Hi guys,

I've created a small tool that creates letters/word documents and attaches them as PDF on an email. However I want to give my users the ability to have the contents of the word document as the body of the email, but I can't wrap my head around how to do that. I am using:

wdRange as 'Microsoft Word 12.0 Object Library'.Range.

I can see that I have the methods wdRange.Select, SetRange, Copy but I don't know how to select the whole word document in order to copy it.

Any help will be appreciated :)

Comments

  • sourav_aitsourav_ait Member Posts: 15
    You can try picking up the content of the Word Document and save/import as HTML format.
Sign In or Register to comment.