Open a mailmerge template Documents.Open problem RRS feed

  • Question

  • Hi All

    I have successfully used COM automation to create a new document template, Attach a data source to it and then save it as a dotx

    However no matter what combinations I try I cannot re-open the mytemplate.dotx using the open method of the documents collection.

    what is the correct set of arguments for opening a .dotx template I have tried with and without the wdFormat option set to formattemplateXML

    Thanks in advance

    Tuesday, October 1, 2013 5:40 PM


  • Mailmerge main documents should be saved in the docx document format; not as dotx templates. In any event, if you're working with a template, you should be creating a new document and specify the template concerned as one of the parameters.

    Paul Edstein
    [MS MVP - Word]

    Wednesday, October 2, 2013 12:25 PM