Collapse the Project Explorer Tree

The Visual Basic Editor displays the list of projects and modules in the Project Explorer Tree view. In large and complicate projects, it can be difficult to manage the large numbers of modules. With VbaPrime you can collapse the Project Explorer Tree with just one button.


To collapse the Project Explorer Tree View, click on the Collapse Tree View button. VbaPrime will then collapse all of the nodes on the tree.


Toolbar Icon for Collapsing Project Tree View
Toolbar Icon for Collapsing the Project Tree View.

Keyboard Short-cut

You can also use the keyboard to collapse the Project Explorer Tree View:


  • Select the Project Window, either by clicking on it or by pressing CTRL+R on the keyboard.
  • Press CTRL+'-' (hold the control key and minus key simultaneously). The tree view will automatically collapse.

See Also

Expand Tree View