MailMerge.ShowWizard 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.
Displays the Mail Merge Wizard in a document.
public void ShowWizard (ref object InitialState, ref object ShowDocumentStep, ref object ShowTemplateStep, ref object ShowDataStep, ref object ShowWriteStep, ref object ShowPreviewStep, ref object ShowMergeStep);
abstract member ShowWizard : obj * obj * obj * obj * obj * obj * obj -> unit
Public Sub ShowWizard (ByRef InitialState As Object, Optional ByRef ShowDocumentStep As Object, Optional ByRef ShowTemplateStep As Object, Optional ByRef ShowDataStep As Object, Optional ByRef ShowWriteStep As Object, Optional ByRef ShowPreviewStep As Object, Optional ByRef ShowMergeStep As Object)
Parameters
- InitialState
- Object
Required Object. The number of the Mail Merge Wizard step to display.
- ShowDocumentStep
- Object
Optional Object. True keeps the "Select document type" step in the sequence of mail merge steps. False removes step one.
- ShowTemplateStep
- Object
Optional Object. True keeps the "Select starting document" step in the sequence of mail merge steps; False removes step two.
- ShowDataStep
- Object
Optional Object. True keeps the "Select recipients" step in the sequence of mail merge steps; False removes step three.
- ShowWriteStep
- Object
Optional Object. True keeps the "Write your letter" step in the sequence of mail merge steps; False removes step four.
- ShowPreviewStep
- Object
Optional Object. True keeps the "Preview your letters" step in the sequence of mail merge steps; False removes step five.
- ShowMergeStep
- Object
Optional Object. True keeps the "Complete the merge" step in the sequence of mail merge steps; False removes step six.