Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sends the workbook by using the installed mail system.
Syntax
expression.SendMail(Recipients, Subject, ReturnReceipt)
expression Required. An expression that returns a Workbook object.
Recipients Required Variant. Specifies the name of the recipient as text, or as an array of text strings if there are multiple recipients. At least one recipient must be specified, and all recipients are added as To recipients.
Subject Optional Variant. Specifies the subject of the message. If this argument is omitted, the document name is used.
ReturnReceipt Optional Variant. True to request a return receipt. False to not request a return receipt. The default value is False.
Remarks
Use the SendMail method in Microsoft Mail (MAPI or Microsoft Mail for the Macintosh) e-mail systems. Pass addressing information as parameters.
Use the SendMailer method in PowerTalk e-mail systems on the Macintosh. The Mailer object contains the addressing information for PowerTalk.
Opens a message window for sending the specified document through Microsoft Exchange.
Note Use the SendMailAttach property to control whether the document is sent as text in the message window or as an attachment.
Syntax
expression.SendMail
expression Required. An expression that returns a Document object.
Sub TestSendMail()
Dim l_docDocument As Word.Document
Set l_docDocument = ThisDocument
l_docDocument.HasRoutingSlip
l_docDocument.RoutingSlip.Subject
l_docDocument.RoutingSlip.AddRecipient "<AddRecipient>"
'Repeat for however many recipients needed
l_docDocument.RoutingSlip.AddRecipient "<AddRecipient>"
l_docDocument.RoutingSlip.Delivery = wdAllAtOnce
'Send
l_docDocument.Route
End Sub
l_docDocument.HasRoutingSlip = True
l_docDocument.RoutingSlip.Subject = "This is the subject"
Cheers
Nikki
Set l_docDocument = Nothing
End Sub