MailMerge.ShowSendToCustom property (Word)

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.

Syntax

expression. ShowSendToCustom

expression A variable that represents a 'MailMerge' object.

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

See also

MailMerge Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.