Template.Type (Word)
Returns the template type. Possible return values are wdAttachedTemplate - An attached template, wdGlobalTemplate - A global template, wdNormalTemplate - The normal default template.
Dim wttType As WdTemplateType
wttType = CustomizationContext.Type