A tip on how to dock windows in Visual Basic Editor (VBE)

In VBE, execute the following steps:

  1. To dock a window (Project Explorer window, Immediate window, Locals window, or …), just drag its title bar to the desired location.
  2. Release the mouse only
  • when the mouse pointer is at the edge (left, right, top, or bottom) of the other window, and
  • when the outline of the window to be docked is shown.

Note: You may need to restore the VBE window if you want to dock the window horizontally or vertically across the entire VBE window.

See the first figure  below for an example on how to dock the Immediate window.

Before the Immediate window is docked horizontally across the entire VBE window (the mouse pointer is the bottom edge of the VBE window and the outline the of window to be docked is shown):before-docked

After the Immediate window is docked:

after-docked

Leave a comment