View Single Post
 
Old 02-26-2025, 05:55 AM
BigMac'ro BigMac'ro is offline Windows 10 Office 2016
Novice
 
Join Date: Feb 2025
Posts: 9
BigMac'ro is on a distinguished road
Default

Thank you for your answer, gmayor.


The E-Mail Merge Add-in (which, if understood well after a glimpse on the website, you developped yourself - congratulations!) might help me out in theory, however I cannot install software or add-ins by myself. And I doubt that the IT department of my company will be open for it...


If I do as suggested in your code, I have a uniform formating + the signature, but special formating from the word document is lost (e.g. words in bold or underlined parts). Moreover, between the end of the body and the signature, additional text I would like to get rid of appears:
HTML Code:
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <HTML>  <HEAD>  <META NAME="Generator" CONTENT="MS Exchange Server version rmj.rmm.rup.rpr">  <TITLE></TITLE>  </HEAD>  <BODY>  <!-- Converted from text/plain format -->     </BODY>  </HTML>
</div> I guess that's somehow related to the fact I use HTML as body format?


You say
Quote:
If you want to keep all the formatting in the original document, copy the document range and paste it to oRng instead of formatting a text string.

That's actually what I want, but I don't understand what you mean by "copy the document range and paste it to oRng instead of formatting a text string". Could you clarify?


Thank you!
Reply With Quote