Analysis updated 2026-05-18
Zip up a folder of generated Excel reports from a macro and save or email the archive automatically.
Extract files from a ZIP or 7-Zip archive as part of an automated Office data import pipeline.
Create an AES-256 encrypted ZIP of sensitive documents directly from a Word or Excel macro.
Mount an ISO image as a virtual drive from within an Office macro to access its contents.
Requires archiveint.dll to be placed on the Windows machine running Office alongside the VBA project.
ChibiArc is a single-file module for Microsoft Office applications like Excel or Word that lets you create and extract compressed archive files from within VBA code. VBA is the scripting language built into Office programs. If you have ever wanted to zip up files or unzip an archive as part of an automated spreadsheet macro or Word script, ChibiArc handles that. The module supports a range of archive formats. ZIP, 7-Zip, and most TAR variants can be both created and extracted. ISO files can be mounted as virtual drives and then removed. CAB and RAR files can be extracted but not created. Encryption is included. You can protect ZIP archives with AES-128, AES-192, or AES-256 encryption, or with the older ZipCrypto standard. The README explains the tradeoff clearly: ZipCrypto works with Windows Explorer natively, which is convenient for sending files to someone without special software, but it is considered weak by modern security standards. AES is more secure but requires software like 7-Zip or ChibiArc itself to open the result. Setup requires placing the VBA class file into your Office project and having the companion DLL file (archiveint.dll) available on the Windows machine. All compression and decompression work is handled by that DLL, which wraps a well-known library called libarchive. The module handles full Unicode filenames, including Chinese and Japanese characters. The module works only on Windows and requires 64-bit Office. It was written by Kallun Willock, with AES encryption adapted from open-source VBA work by WQWeto. The license is MIT.
A VBA module for Office apps like Excel and Word that lets macros create, read, and extract ZIP, 7-Zip, TAR, and ISO archives with optional AES encryption.
Mainly VBA. The stack also includes VBA, libarchive, Win32 API.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.