为“英文信函向导”创建的信件返回或设置问候语类型,WdSalutationType,可读写。
WdSalutationType 可以是下列 WdSalutationType 常量之一: |
wdSalutationBusiness |
wdSalutationFormal |
wdSalutationInformal |
wdSalutationOther |
expression.SalutationType
expression 必需。该表达式返回一个 LetterContent 对象。
本示例新建一个 LetterContent 对象,设置某些属性(包括问候语文本),然后用 RunLetterWizard 方法运行“英文信函向导”。
Set myContent = New LetterContent
myContent.SalutationType = wdSalutationBusiness
Documents.Add.RunLetterWizard _
LetterContent:=myContent, WizardMode:=True