ShowSendToCustom Property

Microsoft Word Visual Basic

ShowSendToCustom Property

       

Returns or sets a String corresponding to the caption on a custom button on the Complete the merge step (step six) of the Mail Merge Wizard. Read/write.

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