Document.MailEnvelope プロパティ (Word)

ドキュメントの電子メール ヘッダーを表す MsoEnvelope オブジェクトを返します。

構文

MailEnvelope

Document オブジェクトを返す式。

次の使用例は、作業中の文書の電子メール ヘッダーのコメントを設定します。

Sub HeaderComments() 
 
 ActiveDocument.MailEnvelope.Introduction = _ 
 "Please review this document and let me know " & _ 
 "what you think. I need your input by Friday." & _ 
 " Thanks." 
 
End Sub

関連項目

ドキュメント オブジェクト

サポートとフィードバック

Office VBA またはこの説明書に関するご質問やフィードバックがありますか? サポートの受け方およびフィードバックをお寄せいただく方法のガイダンスについては、Office VBA のサポートおよびフィードバックを参照してください。