I am attempting to create an xlsm file programmatically, but I seem to be getting the Zip encoding incorrect. My process is:
1 - create a file in Excel
2 - save the file as xlsx (or m)
3 - unzip the file
4 - make a copy of the unzipped directory
5 - Send To -> Compressed (zipped) Folder
When I open it in Excel, it says "Excel found unreadable content in 'file.xlsx.'...". and it is unable to read the file.
I have also tried using the RAR encoder to generate a zip file, but that does not work either.