Home > Software engineering >  How to create the correct. XLSX file?????????????????????
How to create the correct. XLSX file?????????????????????

Time:09-27

I shall be carried out in accordance with the https://jingyan.baidu.com/article/915fc414944b8451394b20d3.html shows the content of this article to excel, but did not create success and will appear the following error:
QAxBase: Error calling IDispatch member SaveAs: Exception thrown by the server
Code: 1004
Source: Microsoft Office Excel
Description: Microsoft Office Excel??????????? C: \//Users/Administrator/Desktop/ExcelDemo/x64/Debug/201710/935 fd000?? ?????????? :
Help:
Connect to the exception (int, QString, QString, QString) signal to catch this exception
Don't know why, if did not give the path, the choice of path is also not line? Hope great god glad, I am not a novice QT, but for this is no contact, all hope the great god give specific code to help me end, I want to create an empty excel, open the excel won't appear what "open do not have a unified format" what such a message,

CodePudding user response:

Baidu search relevant keywords,

CodePudding user response:

You this is throwing an exception, should be to excel and other API calls failed,
  • Related