Document.Kind Property (Word)
Returns or sets the format type that Microsoft Word uses when automatically formatting the specified document. Read/write WdDocumentKind.
Syntax
expression .Kind
expression Required. A variable that represents a Document object.
Example
This example asks the user whether the active document is an e-mail message. If the response is Yes, the document is formatted as an e-mail message.
response = MsgBox("Is this document an e-mail message?", vbYesNo)
If response = vbYes Then
ActiveDocument.Kind = wdDocumentEmail
ActiveDocument.Content.AutoFormat
End If