in my scenario, there are some excel files (each of them with possibly more than one sheet) that I will be updating frequently and which contents are to be imported into a PostgreSQL database almost as frequently. This db manager does not work directly with .xlsx
files, so I would need to export my .xlsx
as .csv
first and then import the .csv
into the database.
I have looked into different questions on the topic but I don't think any of them really solves my problem. I am not looking for a plain piece of code that could solve this situation (although that would be great) but a general direction as to how to approach the solution (VBA, Java/C#/Python program, .bat
executable...).
Any help will be more than welcome.
Side-notes:
- it has not been my decision to use PostgreSQL as DBM, I know there are other DBMs that work well with excel files.
- I have not learned VBA yet but I could very well use this as an excuse to start doing so if needed.
- I am aware of the existence of FDW but I have not found any for
.xlsx
(which is quite the surprise knowing how extended the use of Excel is). Writing one for the.xlsx
file format would be an option but I would really like to avoid this since I may be a bit short in time and I am guessing that it will require much of it.