Share via

Missing "Watch Window" in Excel 2007 Visual Basic.

Anonymous
2013-06-05T20:00:48+00:00

I can no longer view the "Watch Window" in Excel 2007 Visual Basic.  I have undocked the "Immediate" and "Locals" window, and tiled all of them.  I cannot see the "Watch Window" at all.  The menu item "View/Watch Window" shows nothing?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2013-06-06T12:49:38+00:00

You could try the following in the Immediate window to make sure the window is visible and positioned on the screen.

application.VBE.windows("Watches").visible=True

?application.VBE.Windows("Watches").Left

Was this answer helpful?

0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2016-06-10T17:24:02+00:00

    None of my windows would dock so I backed-up HKEY_CURRENT_USER\SOFTWARE\Microsoft\VBA, deleted the key and restarted all Office applications.  Problem solved.

    Microsoft, my bill to you is $35 USD since I already paid for the software.

    Thanks!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2013-06-06T16:43:30+00:00

    Unfortunately, I get "Runtime Error 1004"- "Programmatic access to Visual Basic Project is not trusted" when I try to run the above statements.

    However, I found another post pertaining to lost windows on the Office forum.

    As suggested in this post, the following fixed the problem.

    I used REGEDIT to rename

                  "HKey_Current_User\Software\Microsoft\VBA\6.0\Common\Dock"

                                                to

                   "HKey_Current_User\Software\Microsoft\VBA\6.0\Common\Dock_Temp"

    and then re-started Excel VBA.

    This fixed the problem, I could now see all the variable windows "Locals, Immediate, Watch".

    Then, as suggested, I deleted

                             "HKey_Current_User\Software\Microsoft\VBA\6.0\Common\Dock_Temp"

    Was this answer helpful?

    0 comments No comments