I tried to read in some excel files using openpyxl. The excel file are downloaded from a website and contain several sheets. However, if I download them and try to read in via openpyxl.load_workbook, I get an unusual error message.
I can avoid the problems in two ways:
- Opening the excel file in the beginning and activate the editing option.
- calling "read_only=True" on load_workbook.
Method 1 is very time consuming, considering I have to process a lot of files. Method 2 leads to a very strange renaming of the sheets, which is in conflict with further processing the files. I always give the full path, so this can not be the problem. Since I found nothing about this problem somewhere else, I hope someone has a solution for this problem.