IncludeHeaderFooter Property

Applies To

LetterContent object.

Description

True if the header and footer from the page design template are included in a letter created by the Letter Wizard. Read/write Boolean.

Note Use the PageDesign property to set the name of the template attached to a document created by the Letter Wizard.

See Also

GetLetterContent method, PageDesign property, SetLetterContent method.

Example

This example creates a new LetterContent object, includes the header and footer from the Contemporary Letter template, and then runs the Letter Wizard by using the RunLetterWizard method.

Set myContent = New LetterContent
With myContent
    .PageDesign = "C:\MSOffice\Templates\Letters & Faxes\Contemporary Letter.dot"
    .IncludeHeaderFooter = True
End With
Documents.Add.RunLetterWizard LetterContent:=myContent