Word) (Application.EPostageInsert 事件

會在使用者將電子郵資插入文件時發生。

語法

運算式EPostageInsert (Doc)

expression 代表 Application 物件的變數。

如需搭配 Application 物件使用 事件的相關資訊,請 參閱搭配 Application 物件使用事件

參數

名稱 必要/選用 資料類型 描述
Doc 必要 Document 要加入電子郵資的目的文件名稱。

範例

這個範例會在將電子郵資插入文件時顯示訊息。

Private Sub AppWord_EPostageInsert(ByVal Doc As Document) 
 MsgBox "You just inserted electronic postage into your document." 
End Sub

另請參閱

Application 物件

支援和意見反應

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