https://github.com/VirtualActuary/MiscVBAFunctions
A collection of standalone VBA functions to easily use in other projects.
https://github.com/VirtualActuary/MiscVBAFunctions
Last synced: 4 months ago
JSON representation
A collection of standalone VBA functions to easily use in other projects.
- Host: GitHub
- URL: https://github.com/VirtualActuary/MiscVBAFunctions
- Owner: VirtualActuary
- License: mit
- Created: 2021-08-25T14:42:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-27T14:53:50.000Z (about 1 year ago)
- Last Synced: 2024-08-13T07:18:14.601Z (8 months ago)
- Language: VBA
- Size: 770 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - VirtualActuary/MiscVBAFunctions - A collection of standalone VBA functions to easily use in other projects. (VBA)
README
# Misc VBA Functions
A collection of standalone VBA functions to use in other projects.
## Getting started
1. Download and install the latest release from [Github](https://github.com/VirtualActuary/MiscVBAFunctions/releases).
2. In your start menu, open MiscVba for the documentation.
3. Download the template from the home page of the documentation.## Add your code
1. Insert a new module in VBA
2. Use prefix `Fn` to access the MiscVba functions. For example:
`Set LO = Fn.GetLO("table")`## Developer notes
Read this is you are a developer contributing to MiscVba.
### Compiling and decompiling
The code in this repo is stored in a decompiled state, as `.bas` files. This can be combined into a file called
[MiscVBAFunctions.xlsb](MiscVBAFunctions.xlsb) using the [compile.cmd](compile.cmd) script. After editing
[MiscVBAFunctions.xlsb](MiscVBAFunctions.xlsb), it can be decompiled back into `.bas` files using the
[decompile.cmd](decompile.cmd) script.### Coding standards
- See https://docs.google.com/spreadsheets/d/1nnPorllRq35TcZDrsksJLFC5HBvHUOkP3ihLK1sgVOI/edit#gid=2120525226
- Run `black .` from the repo root regularly.
- Run `mypy .` from the repo root regularly.### Running tests
From the repo root:
```
python -m unittest
```### Releasing a new version
1. Ensure all tests pass and all coding standards are met.
2. Update dependencies: `app-builder -d`
3. Make a local release and test it: `app-builder -l`
4. Make a release on GitHub: `app-builder -g`