Skip to content

VbaCompression v3.0.1

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Oct 21:28
Immutable release. Only release title and notes can be modified.
v3.0.1
c5d28b8

Library VbaCompression implements [MS-OVBA] Compression and Decompression algorithms used
in the Office VBA File Format structures. Office VBA project contains embedded macros and custom forms
for use in Microsoft Office documents.

Usage

Sample usage to generate Excel workbook file with macro
from the source code files Module.vb and MyClass.vb:

var content = "abcdefghijklmnopqrstuv.";
var contentBytes = Encoding.ASCII.GetBytes(content);
var compressedBytes = VbaCompression.Compress(contentBytes);
// compressedBytes = 01 19 B0 00 61 62 63 64
//                   65 66 67 68 00 69 6A 6B
//                   6C 6D 6E 6F 70 00 71 72
//                   73 74 75 76 2E

Requirements

Library targets the .NET 10 runtime.

Legal

This is a fork of the Kavod.Vba.Compression library.

[MS-OVBA] Intellectual Property Rights Notice

Project icon Gold Bars is licensed from Icons8 service
under Universal Multimedia Licensing Agreement for Icons8.

See https://icons8.com/license for more information