次の方法で共有


Application.EPostagePropertyDialog Event (Word)

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

Syntax

expression .Private Sub object_EPostagePropertyDialog(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.

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

Concepts

Application Object

Application Object Members