If you have BUNCHES of workbooks open in Excel 2007, is there anyway to close the whole group, rather than having to click the "X" to close each one individually?
Thanks in advance.
If you have BUNCHES of workbooks open in Excel 2007, is there anyway to close the whole group, rather than having to click the "X" to close each one individually?
Thanks in advance.
Last edited by [email protected]; 09-09-2010 at 10:54 AM.
Hi,
Press ALT & F11 to open the VBA editor.
In the immediate window, typePlease Login or Register to view this content.
Rule 1: Never merge cells
Rule 2: See rule 1
"Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".
Tried it. Didn't work. Does it need to be a sub we can run such as
Please Login or Register to view this content.
Are you sure you used the "Immediate window?" If the IW is not visible, just go to View>Immediate Window. It closes all workbooks but leaves Excel open.
ChemistB
My 2?
substitute commas with semi-colons if your region settings requires
Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)
Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble
If the 'x' you are talking about is the Application close button then hold the Shift key when closing.
You can add a 'Close All' button to the QAT.
Remember what the dormouse said
Feed your head
Duh. Hold the Shift button. Andy, I think I love you. (Of course, I'm not gay. Not that there's anything wrong with that.)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks