VBA Editor – How Can It Be Restored To Original Settings?

DavidSCowan

Board Regular
Joined
Jun 7, 2009
Messages
78
Help please!

I am using Office/Excel 2016. My VBA Editor has got screwed up. The Project Explorer is rammed on top of the Code Window and both are immovable. When trying to view the Properties Window it takes up the whole screen and is immovable. I want to have the original configuration - Project Window to the left with Properties below and the Code window to the right.

Playing around with Tools/Options/Docking doesn’t sort things out.

Searching on the Internet I find a very old “solution” which involves changing a corrupt docking setting in the registry. Unfortunately a search of the Registry reveals that no such setting has the word ‘docking’ in 2016.

This is driving me mad!! Does anyone have a solution?

In hope!

David
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
How odd that you cannot move them around :confused:

Try
- closing every internal window (clicking on the X in the corner) until you have only the main VBA window open
- adding back each required window (one at a time) using View (and then move it if necessary)
 
Upvote 0
Thank you very much for replying. I am afraid i tried that sort of thing - every which way - and it didn't work. I think something got badly corrupted.

It was solved by going to the Registry (Regedit in the search box) then:

HKEY_CURRENT_CURRENT_USER
Software
Microsoft
VBA
7.1 (7.1 is my version of VBA for other people it might be 6.0 or other)
Common (I renamed this Common_old
 
Upvote 0
Thank you very much for replying.

I am afraid i tried that sort of thing - every which way - and it didn't work. I think something got badly corrupted.

In case anyone else has this problem it was solved by:
1) Closing down VBA
2)Going to the Registry (Regedit in the search box) then:

3) HKEY_CURRENT_CURRENT_USER
4) Software
5) Microsoft
6) VBA
7) 7.1 (7.1 is my version of VBA for other people it might be 6.0 or other)
8) Common (I renamed this Common_old)
9) Then restarting VBA which recreates Common

And problem solved - phew!!

Thank again for taking the trouble

David
 
Upvote 0
Thanks for posting the solution - one never knows when one might need these things!!
 
Upvote 0

Forum statistics

Threads
1,215,107
Messages
6,123,126
Members
449,097
Latest member
mlckr

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top