EPostageInsert Event

Microsoft Word Visual Basic

Show All

EPostageInsert Event

       

Occurs when a user inserts electronic postage into a document.

Private Sub object_EPostageInsert(ByVal Doc As Document)

object  An object of type Application declared with events in a class module. For information about using events with the Application object, see Using Events with the Application Object.

Doc  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.

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