The Type property returns the type of document. Returns a MVDocTypes.
Syntax
object.Type
Example
This example demonstrates how to return the document type.
Debug.Print Doc.Type
Used by: Document object