次の方法で共有


LetterContent.CCList Property

Word Developer Reference

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

Syntax

expression.CCList

expression   A variable that represents a LetterContent object.

Example

This example displays the CC list text for the active document.

Visual Basic for Applications
  MsgBox ActiveDocument.GetLetterContent.CCList

This example creates a new LetterContent object, sets the courtesy copies by setting the CClist property, and then runs the Letter Wizard by using the RunLetterWizard method.

Visual Basic for Applications
  Dim lcNew As New LetterContent

lcNew.CCList = "K. Jordan, D. Funk, D. Morrison" ActiveDocument.RunLetterWizard LetterContent:=lcNew

See Also