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

另請參閱

Document 物件

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應