Window.Type procedure builder

Window.Type (Word)

Returns the window type.

wdWindowDocument - A document window, wdWindowTemplate - A template window.
Dim wwtType As WdWindowType
wwtType = ActiveWindow.Type