LetterStyle Property

Microsoft Word Visual Basic

Show All

LetterStyle Property

       

Returns or sets the layout of a letter created by the Letter Wizard. Read/write WdLetterStyle.

WdLetterStyle can be one of these WdLetterStyle constants.
wdFullBlock
wdModifiedBlock
wdSemiBlock

expression.LetterStyle

expression   Required. An expression that returns a LetterContent object.

Example

This example creates a new LetterContent object, selects a letter style, and then runs the Letter Wizard by using the RunLetterWizard method.

Set aLetterContent = New LetterContent
aLetterContent.LetterStyle = wdFullBlock
ActiveDocument.RunLetterWizard _
    LetterContent:=aLetterContent, WizardMode:=True