Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-21-2018, 04:16 PM
abraxis abraxis is offline Problems Emailing From Word Windows 7 64bit Problems Emailing From Word Office 2013
Advanced Beginner
Problems Emailing From Word
 
Join Date: Oct 2012
Location: South Florida
Posts: 37
abraxis is on a distinguished road
Default Problems Emailing From Word


I updated my Ribbon to email documents from Word 2013 as an in-line document. When I activated the icon in the Ribbon to email the document I was working on, the Outlook Email menu appeared, and I indicated two recipients (the same ones) to email to. However, only one recipient received the actual email. Even if I indicated that the second email addressee was a bcc, or a cc, only one email (to the first recipient) was sent out. I need to be able to send a Word document to multiple recipients in the address book. Any help in making this happen would be greatly appreciated.
Reply With Quote
  #2  
Old 03-02-2018, 10:57 PM
gmayor's Avatar
gmayor gmayor is offline Problems Emailing From Word Windows 10 Problems Emailing From Word Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,105
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

If you use the following Word macro the document will be added to the body of an Outlook e-mail message for you to add the recipients and subject just as if you had created the message in Outlook directly.

Do note that the macro requires code from http://www.rondebruin.nl/win/s1/outlook/openclose.htm to start Outlook correctly or the macro will not work. The code you need to copy to a new VBA module is that below 'Test the code'

http://www.gmayor.com/installing_macro.htm

Code:
Sub Send_As_HTML_EMail()
'Graham Mayor - http://www.gmayor.com - Last updated - 14 Jul 2017
'Requires the code from http://www.rondebruin.nl/win/s1/outlook/openclose.htm
'to either retrieve an open instance of Outlook or open Outlook if it is closed.
Dim bStarted As Boolean
Dim olApp As Object
Dim oItem As Object
Dim objdoc As Object
Dim objSel As Selection
    On Error Resume Next
    ActiveDocument.Range.Copy
    Set olApp = OutlookApp()
    Set oItem = olApp.CreateItem(0)
    With oItem
        .BodyFormat = 2
        .Display
        Set objdoc = .GetInspector.WordEditor
        Set objSel = objdoc.Windows(1).Selection
        objSel.PasteAndFormat Type:=wdFormatOriginalFormatting
        .To = ""
        .Subject = ""
    End With
lbl_Exit:
    Set oItem = Nothing
    Set olApp = Nothing
    Set objdoc = Nothing
    Set objSel = Nothing
    Exit Sub
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
Reply

Tags
emailing, word 2013



Similar Threads
Thread Thread Starter Forum Replies Last Post
Emailing From Word Problems abraxis Word 0 02-21-2018 04:12 PM
Word doc not emailing ingridnow Word 3 01-28-2016 08:39 AM
Problems Emailing From Word Emailing word 2007 doc with photos castman Word 2 10-05-2015 07:29 AM
Emailing Word letter with header & footer PaulY Word 3 12-02-2010 12:13 PM
Emailing a word doc NOT as an attachment tigger66 Word 0 01-15-2009 05:30 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:24 PM.


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