list vba modules test code example
Example: excel vba how to unit test vba code
Use Rubberduck:
https://github.com/retailcoder/Rubberduck/wiki/Unit-Testing
Use Rubberduck:
https://github.com/retailcoder/Rubberduck/wiki/Unit-Testing