This file's format is not supported or you don't specify a correct format. 解决办法

Posted Simple Programmer

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了This file's format is not supported or you don't specify a correct format. 解决办法相关的知识,希望对你有一定的参考价值。

string path = @"c:\请假统计表.xlsx";
Workbook workBook = new Workbook();
workBook.Open(path);

Aspose.Cells;  版本是 4.4.0.5  最新版本好像没上面问题

执行上面语句报错:This file‘s format is not supported or you don‘t specify a correct format

错误原因  excel  版本问题 ,把excel  改为2003 excel  就可以啦

以上是关于This file's format is not supported or you don't specify a correct format. 解决办法的主要内容,如果未能解决你的问题,请参考以下文章

TypeError: 'encoding' is an invalid keyword argument for this function

Mysql远程连接报错:SQL Error (1130): Host '192.168.6.128' is not allowed to connect to this MySQL s

Server's certificate is not trusted

this exceeds GitHub's file size limit of 100 MB

WARNING: The Copy Bundle Resources build phase contains this target's Info.plist file 'Info.

mysql 出现Host 'localhost' is not allowed to connect to this MySQL server 错误。