I didn't look at your workbook, but you probably missed to copy the sub NewZip.
If it is not an absolute must to zip the workbook, one alternative is to simply save it as an .xlsb workbook.
I did a small testing to one large file that I have, in different formats and their zipped versions, and compared their file sizes. The best zipped file size is .xls but it's too troublesome and takes too long to do so.
Saving my file in .xlsb gave me a significantly smaller file size compared to .xlsx and zipping it further is not necessary for me. And fast.
|
Original size |
Zipped size |
.xls |
151,270KB |
11,864KB |
.xlsx |
47,880KB |
39,501KB |
.xlsm |
47,880KB |
39,502KB |
.xlsb |
18,084KB |
16,323KB |
Bookmarks