Application.EPostageInsert Event

Word Developer Reference

Occurs when a user inserts electronic postage into a document.

Syntax

expression.Private Sub object_EPostageInsert(ByVal Doc As Document)

expression   A variable that represents an Application object that has been declared with events in a class module. For information about using events with the Application object, see Using Events with the Application Object.

Parameters

Name Required/Optional Data Type Description
Doc Required Document The name of the document to which to add electronic postage.

Example

This example displays a message when electronic postage is inserted into a document.

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

See Also