ShowSendToCustom Property

Microsoft Word Visual Basic

expression.ShowSendToCustom

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

When a user clicks the custom button, the MailMergeWizardSendToCustom event executes.

Example

This example displays a custom button on the sixth step of the Mail Merge Wizard only for mailing labels.

Sub ShowCustomButton()
    With ActiveDocument.MailMerge
        If .MainDocumentType = wdMailingLabels Then
            .ShowSendToCustom = "Custom Label Processing"
        End If
    End With
End Sub