?
Solved

Access VB Code Window - Close Multiple Objects

Posted on 2016-11-08
3
Medium Priority
?
41 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 51

Accepted Solution

by:
Gustav Brock earned 1600 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 120

Assisted Solution

by:Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1) earned 400 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an Add-On procedure to be used in conjunction with the code provided in Reducing EE Email Clutter using Outlook (http://www.experts-exchange.com/Software/Office_Productivity/Groupware/Outlook/A_3146-Outlook-Processing-EE-emails-on-Receive.…
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses
Course of the Month9 days, 11 hours left to enroll

762 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