@alda Since it is 10 years not updated I guess it can be a start not a solution.
I once had to manipulate hundreds of xls files to create a summary. I did this back then in OpenOffice (before #LibreOffice was a thing) but not in SQL - but in the embedded BASIC ...
So I feel your pain.