Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tatsuyafujisaki/export-vba-to-git

Export VBA of an Excel file to a git repository by double-clicking
https://github.com/tatsuyafujisaki/export-vba-to-git

git vba

Last synced: about 2 months ago
JSON representation

Export VBA of an Excel file to a git repository by double-clicking

Awesome Lists containing this project

README

        

# Prerequisites
1. Open Excel
2. Menu bar > `File` > `Options` > `Trust Center` > `Trust Center Settings` > `Macro Settings` > `Trust access to the VBA project object model` > Check

# Preparation
1. Let's say you want to export VBA of `foo.xlsm` to `https://example.com/foo.git`
2. Download `template.cmd` and `template.vbs` to the directory containing `foo.xlsm`
3. Rename the downloaded files to `foo.cmd` and `foo.vbs`
4. Set `https://example.com/foo.git` to the variable `gitRepositoryUrl` in `foo.cmd`

# How to use
1. Double-click `foo.cmd`