Open Word Document without attached template RRS feed

  • Question

  • I wrote a VBA program to search a lot of word documents and some them have web based templates that are attached to the document. Is there a way to open a word document in VBA and exclude all attached templates? I am interested only in the words and don't care so much as to the format.


    Thursday, January 31, 2013 8:30 PM

All replies

  • I don't know if you can have no attached template at all, but you could replace the existing template with Normal.dotm.

    ActiveDocument.AttachedTemplate = "Normal.dotm"

    Monday, February 25, 2013 8:26 PM