Solved

Access VB Code Window - Close Multiple Objects

Posted on 2016-11-08
3
20 Views
Last Modified: 2016-11-14
Hi Experts,
I accidently did something to cause the Code Window to open in VB Code for hundreds of Objects.

I closed each one by clicking the Close Button for each but when I open up the VBA Code Window again they all appear again.

Is there a way to stop this happening so only the one for the Form I am working on displays?
Is there a way to close all of them without doing them one at a time?

Thanks,
Bob C.
0
Comment
Question by:Bob_Collison
3 Comments
 
LVL 49

Accepted Solution

by:
Gustav Brock earned 400 total points
ID: 41879952
Press - and hold - Ctrl+F4 to close all windows.
Click Save.
Then go to Database Tools and click Compact and Repair.

/gustav
0
 
LVL 119

Assisted Solution

by:Rey Obrero
Rey Obrero earned 100 total points
ID: 41880799
It is common to see all the vba module window if they are not on maximize view
To see only one window, click on the Maximize button on any of the code window, then save

x
0
 

Author Closing Comment

by:Bob_Collison
ID: 41886320
Hi Gustave / Rey,

I haven't had the problem since and so couldn't test Gustave's solution but it does answer my question of how to close them without doing them one by one which I believe was what Rey was suggesting.

Thanks for your solutions.
Bob C.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Being an active EE Expert means to get a lot of (E)EMail, as you certainly know. If you are using Outlook, I'll show you how to minimize your inbox contents without losing anything – even improve the experience by changing the Subject line to facili…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now