Most Valuable Professional


View Jan Karel Pieterse's profile on LinkedIn subscribe to rss feed
Subscribe in a reader

Home > English site > Articles > Docking VBE Windows
Deze pagina in het Nederlands

Fixing Docking Of Windows In The VBE

If you're a VBA programmer like me, you're probably picky about your window arrangements in the Visual Basic Editor. Sometimes it messes things up and it can be a challenge to get those windows where you want them.

First of all, you have to choose whether or not you want them to dock at all. Tools, options, Docking enables you to set that for each window separately:

Fig 1, Tools, Options, Docking tab for the VBE.

Suppose your window looks like this:

Fig 2, VBE window. Project explorer above Properties window.

and you want it to look like this:

Fig 3, VBE window. Project explorer below Properties window.

What do you do?

Since a picture says more than a 1000 words and a movie is worth a 1000 pictures, I've recorded my movements while doing these things. Download the movies:

Docking the project explorer window

Docking the watch window

Sometimes, one of the windows disappears completely. This may be caused by a change in screen resolution, but I've heard of inexplicable disappearances too. To fix that, follow these steps:


Comments

Showing last 8 comments of 17 in total (Show All Comments):

 


Comment by: Jan Karel Pieterse (11/3/2009 2:10:10 PM)

Hi AK,

What happens if you doubleclick the titlebar of the code window?
Alternatively, you could select Window, Cascade to have all code windows fit in the blank area next to the project explorer.

 


Comment by: AK (11/5/2009 10:49:29 PM)

Hi Jan,
I got it back to normal by dragging the project explorer to the extreme left of the screen, though now , the properties window doesn't dock with the project explorer and ditto for the immediate window. I even reinstalled MS office but it doesn't work. My company settings do not allow me to do a RegEdit.. there has got to be a simple way of doing this

 


Comment by: Jan Karel Pieterse (11/5/2009 11:18:46 PM)

Hi AK,

Are their dock settings checked?

 


Comment by: Tony (11/24/2009 7:22:01 PM)

Thank you! This drove me crazy until I found your page.

 


Comment by: Bjorn Brechan (2/23/2010 5:40:23 AM)

No matter what I do of the above suggestions, the Project explorer window and the properties window will only dock horizontally at the bottom or top. And yes, it seems like a very silly question - but it is anoying not to have an overview like one used to have....

Please help!

Regards
Bjorn

 


Comment by: Jan Karel Pieterse (2/23/2010 8:36:39 AM)

Hi Bjorn,

Doesn't the video help?

 


Comment by: Garry (5/21/2010 5:14:59 PM)

I was frustrated so much that I couldn't dock back to where they were. Thank you very much!! Now, I know how to put them anywhere I want them. And, your movies help a lot, too.

 


Comment by: Jana (8/18/2010 3:59:36 PM)

You have NO idea how long I have been terrified to rearrange my docking for fear I'd undock everything and never get it back.

You've done a fantastic job explaining, and the video got me over the minor hump of docking windows horizontally.

Thanks muchly!

 


Have a question, comment or suggestion? Then please use this form.

If your question is not directly related to this web page, but rather a more general "How do I do this" Excel question, then I advise you to ask your question here: www.eileenslounge.com.

Please enter your name (required):

Your e-mail address (optional but if you want me to respond it helps!; will not be shown, nor be used to send you unsolicited information):

Your request or comment:

To post VBA code in your comment, use [VB] tags, like this: [VB]Code goes here[/VB].