Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-26-2025, 05:55 AM
BigMac'ro BigMac'ro is offline VBA macro to send Emails from Word: First line font Windows 10 VBA macro to send Emails from Word: First line font Office 2016
Novice
VBA macro to send Emails from Word: First line font
 
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
Reply

Tags
vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can send emails, cannot receive emails! jpcummins Outlook 0 09-02-2020 02:39 PM
VBA macro to send Emails from Word: First line font Bigger font on first letter of first line leaves large gap on that line CrossReach Word 1 04-12-2016 09:23 AM
VBA macro to send Emails from Word: First line font Send Emails from MailMerge in Word using Specified Email Address Baldeagle Mail Merge 6 07-25-2015 05:32 AM
VBA macro to send Emails from Word: First line font macro to add brackets to each line and add single quotes to each word in the line bracketandquotes Word VBA 17 02-16-2015 03:51 PM
How to change line height for marked text (in Word 2007)? ... as default for font? pstein Word 1 01-14-2012 10:15 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:51 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft