Share via


EPostagePropertyDialog Event

Occurs when a user clicks the E-postage Properties (Labels and Envelopes dialog box) button or Print Electronic Postage toolbar button. This event allows a third-party software application to intercept and show their properties dialog box.

Private Subobject**_EPostagePropertyDialog**(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 a user clicks on either the Add Electronic Postage or Print Electronic Postage button.

Private Sub AppWord_EPostagePropertyDialog(ByVal Doc As Document)
    MsgBox "You have clicked on a button to " & _
        "display the ePostage property dialog box."
End Sub

Applies to | Application Object