P
PiaD
I need a macro that automatically sends the current active document via email
to one specific user. It sounds easy, but I have not found anything that
meets this exactly.
Options I have found include: MsoEnvelope Object and SendForReview Method.
They provide the following hurdles: MsoEnvelope does not send document as
attachment, only the document content as the body of the email.
SendForReview sends the document with the Tracking status ON, which I do NOT
want. Any help overcoming this or any other options to solve my issues would
be great. I will take anyway to send an attachment to a specified user.
I have tried using:
Sub SendMail
With Application.ActiveDocument.MailEnvelope
.Introduction = "Please read this and send me your comments."
'Return a Microsoft Outlook MailItem object that
'you can use to send the document.
With .Item
.Recipients.Add "(e-mail address removed)"
.Subject = "Here is the document."
'The body of this message will be
'the content of the active document.
.Send
End Sub
OR
Sub WebReview()
ThisDocument.SendForReview _
Recipients:="(e-mail address removed); amy jones", _
Subject:="Please review this document.", _
ShowMessage:=False, _
IncludeAttachment:=True
End Sub
to one specific user. It sounds easy, but I have not found anything that
meets this exactly.
Options I have found include: MsoEnvelope Object and SendForReview Method.
They provide the following hurdles: MsoEnvelope does not send document as
attachment, only the document content as the body of the email.
SendForReview sends the document with the Tracking status ON, which I do NOT
want. Any help overcoming this or any other options to solve my issues would
be great. I will take anyway to send an attachment to a specified user.
I have tried using:
Sub SendMail
With Application.ActiveDocument.MailEnvelope
.Introduction = "Please read this and send me your comments."
'Return a Microsoft Outlook MailItem object that
'you can use to send the document.
With .Item
.Recipients.Add "(e-mail address removed)"
.Subject = "Here is the document."
'The body of this message will be
'the content of the active document.
.Send
End Sub
OR
Sub WebReview()
ThisDocument.SendForReview _
Recipients:="(e-mail address removed); amy jones", _
Subject:="Please review this document.", _
ShowMessage:=False, _
IncludeAttachment:=True
End Sub