I need GZip to compress a file in Excel VBA function. In particular, I need to be able to use the deflate algorithm.
Is there a way to do this without running a command line application? Without dependence on external tools, the code will be more reliable.
Ideally, the code will use the pre-installed functions of the VBA or COM library - I do not want to implement this logic myself or install DLLs, etc.
If possible, I want the function to be installed as simple as adding .xla to available Excel add-ins. No DLLs, EXEs, registry entries, etc. are required.
Edit Can I use .NET GZipStream for this?
source
share