title: Get path of template inside Word document created from template
body: <p>I have a word template with macros (*.dotm). I need to know the path where the template was stored in the Word document created from the template.</p>
  
  <p>With <code>Application.ActiveDocument.FullName</code> I get the (full) path to the template only when I open the template directly in edit mode. When a document has been created from the document <code>ActiveDocument</code> points to the newly created document, so it doesn't give me the path I want.</p>
  
  <p><code>Private Sub Document_New()</code> seems to be fired after the document has been instanciated, so this is to late to get the template path value and there seems to be no event that I can use which fires earlier.</p>
  
  <p>Also tried <code>ActiveDocument.AttachedTemplate</code> but it only returns a string with the filename and not the full path.</p>
  
  <p>How can I get the full path to the template inside the instantiated document?</p>
  
  <p>Please note that <strong>the template is stored on a webserver</strong> (SharePoint) and <strong>thus <code>ActiveDocument.AttachedTemplate.Path</code> currently returns the path inside the temporary internet files</strong>.</p>