The Type property returns the type of window. Returns a MVWinTypes.
Syntax
object.Type
Example
This example demonstrates how to return the window type.
Debug.Print Window.Type
Used by: Window object