Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/SSlinky/VBA-ExtendedDictionary

Dictionary object that extends the Scripting.Dictionary
https://github.com/SSlinky/VBA-ExtendedDictionary

vba vba-excel

Last synced: about 2 months ago
JSON representation

Dictionary object that extends the Scripting.Dictionary

Awesome Lists containing this project

README

        

# VBA-ExtendedDictionary
Dictionary object that extends the Scripting.Dictionary

[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/SSlinky/VBA-ExtendedDictionary/blob/master/README.md#license)
[![VBA](https://img.shields.io/badge/vba-VB--6-success)](https://docs.microsoft.com/en-us/office/vba/api/overview/)
[![Buy me a Beer!](https://img.shields.io/badge/Buy%20me%20a-Beer-yellow)](https://www.buymeacoffee.com/sslinky)

ExtendedDictionary exposes the standard functionality of a [Scripting.Dictionary object](https://learn.microsoft.com/en-au/office/vba/language/reference/user-interface-help/dictionary-object) as well as providing additional useful functionality that avoids boilerplate.

* Load range of values as key / value pairs for fast dictionary population.
* Better control over what does and does not raise an error.
* Option to count the keys rather than load values.
* Wrapper to get value or default similar to modern languages.

## Installation
Download the Dictionary.cls file and add it to your project.

## Documentation
[Read the docs](https://sslinky.github.io/VBA-ExtendedDictionary/#/) for usage and examples.

## Licence
Released under [MIT](/LICENCE) by [Sam Vanderslink](https://github.com/SSlinky).
Free to modify and reuse.