How to attach the immediate and debug windows back onto the code window

bknight
BronzeLounger
Posts: 1389
Joined: 08 Jul 2016, 18:53

How to attach the immediate and debug windows back onto the code window

Post by bknight »

Somehow I have detached the debug window from the code window how may I attach it again? Also the immediate window is not shown, how do I show it attached as with debug window.?

User avatar
HansV
Administrator
Posts: 78488
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: How to attach the immediate and debug windows back onto the code window

Post by HansV »

If you do not see the Immediate window, press Ctrl+G.
If you then see it, drag it to the bottom of the Visual Basic Editor window. When you hit the bottom edge, the Immediate window should become docked.

By debug window, do you mean the Watch window? If so, and if you don't see it, select Debug > Watch Window. You should then be able to drag it downwards. When it hits the top of the Immediate window, the Watch window should become docked.
Best wishes,
Hans

bknight
BronzeLounger
Posts: 1389
Joined: 08 Jul 2016, 18:53

Re: How to attach the immediate and debug windows back onto the code window

Post by bknight »

Hmm, this is what I came up with, but not what I expected. From what I remembered the immediate window was more less a square windowto the left of the expression window
You do not have the required permissions to view the files attached to this post.

User avatar
HansV
Administrator
Posts: 78488
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: How to attach the immediate and debug windows back onto the code window

Post by HansV »

Try dragging the Immediate window to the left of the Watches window.
It should dock to the left of the Watches window. It may take several tries - the process is rather finicky.
When you have done that, you can drag the border that separates the two windows to the left or right.
Best wishes,
Hans

bknight
BronzeLounger
Posts: 1389
Joined: 08 Jul 2016, 18:53

Re: How to attach the immediate and debug windows back onto the code window

Post by bknight »

Well I did it one time. I was moving both and it became unattached. After several attempts it is still a separate window.
It moves upward easily docking on top just not to the left.

Ok I finally did it. but now the immediate and watch(what I called the debug)are on top of the code window. Is there a way to move it below/
You do not have the required permissions to view the files attached to this post.

User avatar
HansV
Administrator
Posts: 78488
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: How to attach the immediate and debug windows back onto the code window

Post by HansV »

Just keep on trying...
Best wishes,
Hans

User avatar
HansV
Administrator
Posts: 78488
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: How to attach the immediate and debug windows back onto the code window

Post by HansV »

Best wishes,
Hans

bknight
BronzeLounger
Posts: 1389
Joined: 08 Jul 2016, 18:53

Re: How to attach the immediate and debug windows back onto the code window

Post by bknight »

I did dock it finally on the left. That combination is now above the code window I attempted several times to move it below, unsuccessfully. IIRC the pair were at one time docked to the code window. Would that be correct?

User avatar
HansV
Administrator
Posts: 78488
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: How to attach the immediate and debug windows back onto the code window

Post by HansV »

It depends on whether your module windows are maximized.
Best wishes,
Hans

bknight
BronzeLounger
Posts: 1389
Joined: 08 Jul 2016, 18:53

Re: How to attach the immediate and debug windows back onto the code window

Post by bknight »

Different pc that I use daily except on the weekends.
You do not have the required permissions to view the files attached to this post.

User avatar
HansV
Administrator
Posts: 78488
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: How to attach the immediate and debug windows back onto the code window

Post by HansV »

In that screenshot, the module window is maximized. You should be able to get the same layout on the first PC by dragging the Immediate and/or Watches window around, but as I mentioned, it is finicky.
Best wishes,
Hans

bknight
BronzeLounger
Posts: 1389
Joined: 08 Jul 2016, 18:53

Re: How to attach the immediate and debug windows back onto the code window

Post by bknight »

OK back to this issue, I maximized the window and finally docked the immediate window to the left of the watch window, all well and good until the window is minimized and then the immediate and watch window, still docked are not docked with the code window. See images. So what is your suggestion to dock all of them in a minimized window?
You do not have the required permissions to view the files attached to this post.

User avatar
HansV
Administrator
Posts: 78488
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: How to attach the immediate and debug windows back onto the code window

Post by HansV »

That is not possible.Windows can be docked to the edges of the VBE window, not to a non-maximized module (code) window,
Best wishes,
Hans

bknight
BronzeLounger
Posts: 1389
Joined: 08 Jul 2016, 18:53

Re: How to attach the immediate and debug windows back onto the code window

Post by bknight »

OK