Document.RunLetterWizard(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Runs the Letter Wizard on the document.
public void RunLetterWizard (ref object LetterContent, ref object WizardMode);
abstract member RunLetterWizard : obj * obj -> unit
Public Sub RunLetterWizard (Optional ByRef LetterContent As Object, Optional ByRef WizardMode As Object)
Parameters
- LetterContent
- Object
A LetterContent. Any filled properties in the LetterContent show up as filled elements in the Letter Wizard dialog boxes. If this argument is omitted, the GetLetterContent() method is automatically used to get a LetterContent from the document.
- WizardMode
- Object
true
to display the Letter Wizard dialog box as a series of steps with Next, Back, and Finish buttons. false
to display the Letter Wizard dialog box as if it were opened from the Tools menu (a properties dialog box with an OK button and a Cancel button). The default value is true
.
Remarks
Use the CreateLetterContent method to return a LetterContent with various letter element properties specified. Use the GetLetterContent method to return a LetterContent based on the contents of the document. You can use the resulting LetterContent with the RunLetterWizard method to set elements in the Letter Wizard dialog box.
Optional Parameters
For information on optional parameters, see Optional Parameters in Office Solutions.