xlsx and xlsm files return badzipfile: file is not a zip file

前端 未结 13 1624
灰色年华
灰色年华 2020-12-30 05:48

I\'m trying to open both an xlsx file and an xlsm file both give me the same error

badzipfile: file is not a zip file

here is wh

13条回答
  •  一生所求
    2020-12-30 06:15

    I did something really stupid and got the same error. Basically, today was my first time trying this and I got it to work with the 'Automate' example and then tried my Excel. Didn't work! Took me a while to realize the error was due to having workbook password protected. The error doesn't match that at all, but when I removed the protection from the workbook, it worked! What can I say but 'duh' and 'yeah!'?

提交回复
热议问题