Application.EPostagePropertyDialog event (Word)

Occurs when a user clicks the E-postage Properties (Labels and Envelopes dialog box) button or Print Electronic Postage button.

Syntax

expression.EPostagePropertyDialog (Doc)

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.

Remarks

This event allows a third-party software application to intercept and show their properties dialog box.

Example

This example displays a message when a user clicks either the Add Electronic Postage button or the Print Electronic Postage button.

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

See also

Application Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.