Vote count:
0
Error Message while opening the file:
Excel found unreadable content in zz.xlsx. Do you want to recover the contents of the work book?If you trust the source of the workbook,click Yes.
If I say "Yes" got "Repairs to zz.xlxs" pop up shows.
Could any one please help me. What format of the excel could have caused this. As i tried sample workbook without any formatting it work fine.
My code :
from openpyxl import Workbook from openpyxl import load_workbook #open existing workbook wb = load_workbook(filename = 'xx.xlsx') wb.save('zz.xlsx')
Appreciate your help. Thanks!
asked 44 secs ago
openpyxl - load the workbook and save , open saved file with error message
Aucun commentaire:
Enregistrer un commentaire