Creates and returns a LetterContent object based on the specified letter elements.
Syntax
expression.CreateLetterContent(DateFormat, IncludeHeaderFooter, PageDesign, LetterStyle, Letterhead, LetterheadLocation, LetterheadSize, RecipientName, RecipientAddress, Salutation, SalutationType, RecipientReference, MailingInstructions, AttentionLine, Subject, CCList, ReturnAddress, SenderName, Closing, SenderCompany, SenderJobTitle, SenderInitials, EnclosureNumber, InfoBlock, RecipientCode, RecipientGender, ReturnAddressShortForm, SenderCity, SenderCode, SenderGender, SenderReference)
expression Required. An expression that returns a Document object.
DateFormat Required String. The date for the letter.
IncludeHeaderFooter Required Boolean. True to include the header and footer from the page design template.
PageDesign Required String. The name of the template attached to the document.
LetterStyle Required Long. The document layout. Can be one of the following WdLetterStyle constants: wdFullBlock, wdModifiedBlock, or wdSemiBlock.
Letterhead Required Boolean. True to reserve space for a preprinted letterhead.
LetterheadLocation Required Long. The location of the preprinted letterhead. Can be one of the following WdLetterheadLocation constants: wdLetterBottom, wdLetterLeft, wdLetterRight, or wdLetterTop.
LetterheadSize Required Single. The amount of space (in points) to be reserved for a preprinted letterhead.
RecipientName Required String. The name of the person who'll be receiving the letter.
RecipientAddress Required String. The mailing address of the person who'll be receiving the letter.
Salutation Required String. The salutation text for the letter.
SalutationType Required Long. The salutation type for the letter. Can be one of the following WdSalutationType constants: wdSalutationBusiness, wdSalutationFormat, wdSalutationInformal, or wdSalutationOther.
RecipientReference Required String. The reference line text for the letter (for example, "In reply to:").
MailingInstructions Required String. The mailing instruction text for the letter (for example, "Certified Mail").
AttentionLine Required String. The attention line text for the letter (for example, "Attention:").
Subject Required String. The subject text for the specified letter.
CCList Required String. The names of the carbon copy (CC) recipients for the letter.
ReturnAddress Required String. The text of the return mailing address for the letter.
SenderName Required String. The name of the person sending the letter.
Closing Required String. The closing text for the letter.
SenderCompany Required String. The company name of the person creating the letter.
SenderJobTitle Required String. The job title of the person creating the letter.
SenderInitials Required String. The initials of the person creating the letter.
EnclosureNumber Required Long. The number of enclosures for the letter.
InfoBlock Optional Variant. This argument may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.
RecipientCode Optional Variant. This argument may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.
RecipientGender Optional Variant. This argument may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.
ReturnAddressShortForm Optional Variant. This argument may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.
SenderCity Optional Variant. This argument may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.
SenderCode Optional Variant. This argument may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.
SenderGender Optional Variant. This argument may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.
SenderReference Optional Variant. This argument may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.