Converting Mail Merge to XML uses Word 2003 instead of newer version

aseigleaseigle Member Posts: 207
I'm using the Stylesheet tool in NAV2016 after upgrading it from NAV2013 (with help from folks here on Mibuso :smiley: )

In CU680, in the SaveMailMergeAsXML function, the word file type is set to be Word 2003 XML via a value that I can't seem to find anywhere.

ParamFalse := FALSE;
ReadOnly := FALSE;
wrdDoc := wrdApp.Documents.Open(MailMergeDocFileName,ParamFalse,ReadOnly);

ParamInt := 11; // 11 - Word 2003 XML
wrdDoc.SaveAs(StylesheetDocFileName,ParamInt);
wrdApp.Quit;

I would like to save the file with the type Word XML Document instead of Word 2003 XML Document.

Does anybody know what the value should be to update that (if even possible) or where I could look to try and find it.

Thanks in advance.

Adam

Answers

Sign In or Register to comment.