Rubberduck logo

Rubberduck

A free and open-source VBIDE add-in

Get the latest official release here:

 v2.5.91 (main)

 released 2023-11-27

 5,088 downloads

Try all the new/upcoming features with latest pre-release version:

 Prerelease-v2.5.9.6321 (next)

 released 2024-01-29

 160 downloads


Features overview

Rubberduck aims to bring the VBIDE into this century, and it starts with features like these:

Code Inspections

Rubberduck understands Classic-VB code like no other add-in, giving it superior static code analysis capabilities that go far above and beyond what is possible with simple text-based analysis. Avoid common pitfalls (some not-so-common) with dozens (100+) of configurable inspections.

Details »

Annotations

Gain full control over module and member attributes, create a virtual folder hierarchy, document modules and procedures, all with special comment annotations.

Details »

Refactorings

Before Rubberduck, the only refactoring-like tool in the VBE was... Find/Replace (<kbd>Ctrl</kbd>+<kbd>H</kbd>), which treats the code as, essentially, plain text. Rubberduck changes that: when you _refactor/rename_ a variable, only _that_ variable gets renamed, and all its (early-bound) usages get updated.

Details »

Unit Testing

Write code that runs your code and verifies its output is as expected, given controlled inputs. Organize tests into categories, run them directly in the VBIDE, view results in a dedicated explorer toolwindow.

Details »

Above & Beyond

Rubberduck Style Guide

Enhance your VBA programming with this comprehensive VBA coding style guide. 74 pages covering everything from naming and parameterization to design patterns and object-oriented programming principles.

Free (pay what you want) download

Swag for everyone!

Support the project and treat yourself with beautiful Rubberduck mugs, t-shirts, pens, stickers, and more in the Rubberduck Swag Shop!

Every purchase includes a bunch of free stickers and additional freebies, and ships in a custom packaging with all the air bags and bubble wrap needed to ensure everything stays in one piece.

Shop Rubberduck Swag