XlApp.UserControl(TRUE); XlWrkBk.Close(TRUE,FIleName); XlApp.Quit; CLEAR(XlApp);this code will save prepared excel as default XML format.
XlApp.UserControl(TRUE); XlWrkBk.SaveAs(FIleName,'43'); /// save as excel 97 XlWrkBk.Close(FALSE); XlApp.Quit; CLEAR(XlApp);but it did not work. number 43 I took from this document: http://msdn.microsoft.com/en-us/library/office/bb241279(v=office.12).aspx and I tried it as number too.
Comments
Then they won't have trouble opening newer versions of files.
http://office.microsoft.com/en-us/suppo ... 68676.aspx
http://www.BiloBeauty.com
http://www.autismspeaks.org
but this is not sending office files to customer with human on other end - it is DB Schenker WMS which processes XLS files automaticaly
at this time we created small VB script which is called after XLSX file creation, but I do not like this workaround
If Iľl run it from saved file, then conversion is performed. but from NAV, execution fails...
for error message please see attached file.
any help will be welcomed