Reopen failed after saving workboot open with keep_vba=True
Created originally on Bitbucket by megavolts
Today, I got the following error "KeyError: "There is no item named 'xl/sharedStrings.xml' in the archive", after trying to open a workbook, I had previously open with keep_vba=True, do some magic, and save it.
I attached the xlsx files. The following lines were enough to reproduce the error.
#!python
wb = openpyxl.load_workbook(filename=ic_path, keep_vba=True)
wb.save(ic_path)
wb = openpyxl.load_workbook(filename=ic_path, keep_vba=True)
The file xl/sharedStrings.xml is present in the file, but dissappear after saving.
Attachments: BRW_CS-19990312.xlsx