Share via


_Document.AutoFormat Method

Automatically formats a document.

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

Syntax

'Declaration
Sub AutoFormat
'Usage
Dim instance As _Document

instance.AutoFormat()
void AutoFormat()

Remarks

Use the Kind property to specify a document type.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace