Muokkaa

Jaa


Document.SendMail method (Word)

Opens a message window for sending the specified document through Microsoft Exchange.

Syntax

expression.SendMail

expression Required. A variable that represents a Document object.

Remarks

Use the SendMailAttach property to control whether the document is sent as text in the message window or as an attachment.

Example

This example sends the active document as an attachment to a mail message.

Options.SendMailAttach = True 
ActiveDocument.SendMail

See also

Document Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.