Excel VBA Sync

${ Import and export VBA from an Excel workbook }
2020-04-20

/* project archived */

For those who donโ€™t know, Excel has itโ€™s own embedded scripting language: VBA

Excel even has itโ€™s own embedded (ancient) code editor to write these scripts!

But if you do use them, often times you will want to get the code out of the file. Or inject new code into the file.

At a previous job we had this requirement because we were working with some Excel workbooks that had a lot of scripts that needed improvements. And we (the developers) wanted to get all this code into Git to help manage it.

So I build this library to provide a way to export VBA code to a folder and import it back. That folder can then be version-controlled using Git ๐Ÿ™Œ

This was inspired by (and later replaced) an alternative implementation a colleague made using VBA - VbaSync

We integrated this library into a larger project and hooked it up to some workbook events such that new code was imported on startup, and exported when the file is saved or closed. This kept the code inside and outside in sync.


Iโ€™ve since abandoned this project since I changed jobs no longer work with Microsoft Excel workbooks and VBA ๐Ÿ˜Œ

The code is still available here if you are interested!

All content written by me, a fellow human ๐Ÿ–– Opinions shared here are solely my own I can will make mistakes - verify important information
code: 20260502 content: 20260502