MailMerge.State Property

Returns the current state of a mail merge operation.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
ReadOnly Property State As WdMailMergeState
    Get
'Usage
Dim instance As MailMerge
Dim value As WdMailMergeState

value = instance.State
WdMailMergeState State { get; }

Property Value

Type: Microsoft.Office.Interop.Word.WdMailMergeState

Remarks

The State property can be one of the following WdMailMergeState constants:

wdDataSource

wdMainAndDataSource

wdMainAndHeader

wdMainAndSourceAndHeader

wdMainDocumentOnly

wdNormalDocument

See Also

Reference

MailMerge Interface

MailMerge Members

Microsoft.Office.Interop.Word Namespace