如何在不使用VBA中的第三方组件的情况下压缩/解压缩文件。 [英] How to Zip/Unzip files without using 3rd party component in VBA.
问题描述
对于VBA应用程序之一,我们曾经通过WinZip组件对带有密码保护的excel文件进行压缩。但是由于安全原因,WinZip工具已经退役,并被其他压缩工具取代。
因此我们的报告生成功能现在无法正常工作,因为我们在系统中没有win zip组件。 / p>
我用Google搜索并遇到了一些链接,但这些链接不支持密码保护功能,同时还有zip / unzip文件。
https:// accessexperts.com/blog/2012/02/06/zipandunzipfrommicrosoftvba /
http://www.rondebruin.nl/win/s7/win001.htm
我们是否有任何通用方法来使用具有密码保护的文件压缩。
请有人建议我如何在不使用任何第三方组件的情况下使用zip / unzip文件。
谢谢&问候
Kumar Ravi Shankar
试试这个:
For one of VBA application, We used to zip excel files with password protection through WinZip component. But WinZip tool has been decommissioned due to security reason and replaced by other compression tool.
So our report generation functionality is not working now as we do not have win zip component in system.
I have googled and came across some links, but these links do not support password protection features while zip/unzip files.
https://accessexperts.com/blog/2012/02/06/zipandunzipfrommicrosoftvba/
http://www.rondebruin.nl/win/s7/win001.htm
Do we have any generic method to use compression of files with password protection.
Please anybody suggest me how to use zip/unzip files without using any 3rd party component.
Thanks & Regards
Kumar Ravi Shankar
Try this:
这篇关于如何在不使用VBA中的第三方组件的情况下压缩/解压缩文件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!