Share via


Application.MailMergeWizardFollowUpCustom Event

Publisher Developer Reference

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

Version Information
 Version Added:  Publisher 2007

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

You can 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 above was displayed.

Visual Basic for Applications
  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.

Visual Basic for Applications
  Private WithEvents pubApplication As Application

Then run the following initialization procedure.

Visual Basic for Applications
  Public Sub Initialize_pubApplication()
    Set pubApplication = Publisher.Application
End Sub

See Also