Skip to content

Latest commit

 

History

History
70 lines (43 loc) · 1.97 KB

Publisher.Application.MailMergeWizardFollowUpCustom.md

File metadata and controls

70 lines (43 loc) · 1.97 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.MailMergeWizardFollowUpCustom event (Publisher)
vbapb10.chm268435490
vbapb10.chm268435490
Publisher.Application.MailMergeWizardFollowUpCustom
ac8cb695-69a4-83f7-8e13-66762f52f611
06/05/2019
medium

Application.MailMergeWizardFollowUpCustom event (Publisher)

Fires when the string that appears as the fourth item under Prepare to follow-up on this mailing in the third Mail Merge task pane in the Microsoft Publisher user interface is chosen.

Syntax

expression.MailMergeWizardFollowUpCustom (Doc)

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
Doc Required Document The current publication.

Remarks

Use the ShowFollowUpCustom property to display this string.

For more information about using events with the Application object, see Using events with the Application object.

Example

The following Microsoft Visual Basic for Applications (VBA) macro shows how to handle the MailMergeWizardFollowUpCustom event. It displays a message notifying the user that the string described earlier was displayed.

Private Sub pubApplication_MailMergeWizardFollowUpCustom(ByVal Doc As Document) 
 MsgBox "The FollowUpCustom string is clicked." 
End Sub

For this event to occur, you must place the following line of code in the General Declarations section of your module.

Private WithEvents pubApplication As Application

You then must run the following initialization procedure.

Public Sub Initialize_pubApplication() 
 Set pubApplication = Publisher.Application 
End Sub

[!includeSupport and feedback]