Close all modules

User avatar
agibsonsw
SilverLounger
Posts: 2403
Joined: 05 Feb 2010, 22:21
Location: London ENGLAND

Close all modules

Post by agibsonsw »

Hello. (Access 2003)
Is there a way to close all open code/module windows at once? Thanks, Andy.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.

User avatar
HansV
Administrator
Posts: 78236
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Close all modules

Post by HansV »

You could install the add-in to my reply in VBA Editor Windows Bloat. It'll add a menu entry that lets you close all code windows.
Best wishes,
Hans

User avatar
agibsonsw
SilverLounger
Posts: 2403
Joined: 05 Feb 2010, 22:21
Location: London ENGLAND

Re: Close all modules

Post by agibsonsw »

Thank you for the code - I thought I might have overlooked a keyboard shortcut. Andy.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.

User avatar
Jan Karel Pieterse
Microsoft MVP
Posts: 656
Joined: 24 Jan 2010, 17:51
Status: Microsoft MVP
Location: Weert, The Netherlands

Re: Close all modules

Post by Jan Karel Pieterse »

I'd download MZ tools from here:
http://www.mztools.com/v3/mztools3.aspx
It has a toolbar button for the same and lots of other very useful stuff.
Regards,

Jan Karel Pieterse
Excel MVP jkp-ads.com

User avatar
agibsonsw
SilverLounger
Posts: 2403
Joined: 05 Feb 2010, 22:21
Location: London ENGLAND

Re: Close all modules

Post by agibsonsw »

Thank you for the link. Andy.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.

User avatar
Wendell
4StarLounger
Posts: 482
Joined: 24 Jan 2010, 15:02
Location: Colorado, USA

Re: Close all modules

Post by Wendell »

Jan Karel Pieterse wrote:I'd download MZ tools from here:
http://www.mztools.com/v3/mztools3.aspx
It has a toolbar button for the same and lots of other very useful stuff.
Amen! We've used it for years - any serious VBA developer should have it in their development environment.
Wendell
You can't see the view if you don't climb the mountain!