LetterContent Members (Word)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents the elements of a letter created by the Letter Wizard.

Properties

Name

Description

Application

Returns an Application object that represents the Microsoft Word application.

AttentionLine

Returns or sets the attention line text for a letter created by the Letter Wizard. Read/write String.

CCList

Returns or sets the carbon copy (CC) recipients for a letter created by the Letter Wizard. Read/write String.

Closing

Returns or sets the closing text for a letter created by the Letter Wizard (for example, "Sincerely yours"). Read/write String.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.

DateFormat

Returns or sets the date for a letter created by the Letter Wizard. Read/write String.

Duplicate

Returns a read-only LetterContent object that represents the contents of a letter created by the Letter Wizard.

EnclosureNumber

Returns or sets the number of enclosures for a letter created by the Letter Wizard. Read/write String.

IncludeHeaderFooter

True if the header and footer from the page design template are included in a letter created by the Letter Wizard. Read/write Boolean. Use the PageDesign property to set the name of the template attached to a document created by the Letter Wizard.

InfoBlock

Associated with the Letter Wizard in Microsoft Word. Not used in the U.S. English version of Word.

Letterhead

True if space is reserved for a preprinted letterhead in a letter created by the Letter Wizard. Read/write Boolean. The LetterheadSize property controls the size of the reserved letterhead space.

LetterheadLocation

Returns or sets the location of the preprinted letterhead in a letter created by the Letter Wizard. Read/write WdLetterheadLocation.

LetterheadSize

Returns or sets the amount of space (in points) to be reserved for a preprinted letterhead in a letter created by the Letter Wizard. Read/write Single.

LetterStyle

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

MailingInstructions

Returns or sets the mailing instruction text for a letter created by the Letter Wizard (for example, "Certified Mail"). Read/write String.

PageDesign

Returns or sets the name of the template attached to the document created by the Letter Wizard. Read/write String.

Parent

Returns an Object that represents the parent object of the specified LetterContent object.

RecipientAddress

Returns or sets the mailing address of the person who'll be receiving the letter created by the Letter Wizard. Read/write String.

RecipientCode

Returns or sets the recipient code. Read/write String.

RecipientGender

Returns or sets the recipient's gender, if known. Not used in the U.S. English version of Microsoft Word. Read/write WdSalutationGender.

RecipientName

Returns or sets the name of the person who'll be receiving the letter created by the Letter Wizard. Read/write String.

RecipientReference

Returns or sets the reference line (for example, "In reply to:") for a letter created by the Letter Wizard. Read/write String.

ReturnAddress

Returns or sets the return address for a letter created with the Letter Wizard. Read/write String.

ReturnAddressShortForm

Returns or sets the short form address. Read/write String.

Salutation

Returns or sets the salutation text for a letter created by the Letter Wizard. Read/write String.

SalutationType

Returns or sets the type of salutation for a letter created by the Letter Wizard. Read/write WdSalutationType.

SenderCity

Returns or sets the sender's city. Not used in the U.S. English version of Microsoft Word. Read/write String.

SenderCode

Returns or sets the sender code. Not used in the U.S. English version of Microsoft Word. Read/write String.

SenderCompany

Returns or sets the company name of the person creating a letter with the Letter Wizard. Read/write String.

SenderGender

Returns or sets the gender used with the salutation. Not used in the U.S. English version of Microsoft Word. Read/write WdSalutationGender.

SenderInitials

Returns or sets the initials of the person creating a letter with the Letter Wizard. Read/write String.

SenderJobTitle

Returns or sets the job title of the person creating a letter with the Letter Wizard. Read/write String.

SenderName

Returns or sets the name of the person creating a letter with the Letter Wizard. Read/write String.

SenderReference

Not used in the U.S. English version of Microsoft Word. Read/write String.

Subject

Returns or sets the subject text of a letter created by the Letter Wizard. Read/write String.