返回或设置一个与“邮件合并向导”的“完成合并”步骤(第六步)中自定义按钮上的标题一致的 String 类型的数值。可读写。
expression.ShowSendToCustom
expression 必需。该表达式返回“应用于”列表中的一个对象。
如果用户单击自定义按钮,则执行 MailMergeWizardSendToCustom 事件。
本示例在“合并邮件向导”第六步中显示自定义按钮,并仅用于邮件标签。
Sub ShowCustomButton()
With ActiveDocument.MailMerge
If .MainDocumentType = wdMailingLabels Then
.ShowSendToCustom = "Custom Label Processing"
End If
End With
End Sub