I'm using the Stylesheet tool in NAV2016 after upgrading it from NAV2013 (with help from folks here on Mibuso
)
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
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/
https://msdn.microsoft.com/en-us/library/bb238158(v=office.12).aspx
Franz Kalchmair, MVP
Alias: Jonathan Archer
please like / agree / verify my answer, if it was helpful for you. thx.
Blog: http://moxie4nav.wordpress.com/