Solved

Access VB Code Window - Close Multiple Objects

Posted on 2016-11-08
3
38 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 50

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 120

Assisted Solution

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

717 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