I'm using openpyxl to import/export xlsx files.
But I can't import load_workbook()
the file that i exported with openpyxl.
I must open the exported xlsx file in Excel, change some value of the imported xlsx file and save it (its size changes also (for ex: from 148 Ko to 180 Ko). Then i can import it with openpyxl.
I think that there is a problem in export because after saving manually import works.
Thanks.
import
andexport
or are you just using that terminology instead ofload_workbook()
andWorkbook.save()
. If you provide some code, that would be helpful preferably with something that creates the file that cannot be 'imported'. Did you try to read the faulty file with Excel? – Anthon