Dependency Navigation in the Code Explorer
A key strength of the Code VBA Code Explorer is its ability to show how the elements of your VBA project depend on each other. With built in dependency navigation, you can instantly see both what a procedure, user defined type, or enum uses and which parts of your project use it.
Understanding “Uses” and “Used By”
When you select a procedure, UDT, or enum in the Code Explorer, the tool analyzes your project and presents two complementary views:
- Uses - everything the selected item calls or references, such as procedures, functions, user defined types and enums.
- Used By - all procedures that depend on the selected item.
This gives you a clear picture of how code elements interact, making it easier to understand complex modules and avoid unintended side effects when making changes.
Why dependency navigation matters
Dependency navigation helps you:
- Understand code flow in large or inherited projects.
- Refactor safely by knowing exactly what will be affected.
- Track down errors by identifying where a problematic procedure is used.
- Document your project with accurate dependency information.
Whether you're maintaining legacy VBA code or building new solutions, Code VBA's dependency navigation gives you the insight needed to work confidently and efficiently.