Is there a shortcut key to close all tabs when in Datasheet View in Access 2007?

Ctrl+W closes only 1 tab. What shortcut key closes all tabs that are open in Datasheet View in Access 2007?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Nathan RileyFounderCommented:
ctrl w
Nathan RileyFounderCommented:
Well maybe not what your looking for after reading further.  how about

In AccXP if you do Alt --> Q --> R it would work

I found it from here
I don't have Access 2007.  What do you mean by close 'tabs'.  ie. what's a tab?
The Five Tenets of the Most Secure Backup

Data loss can hit a business in any number of ways. In reality, companies should expect to lose data at some point. The challenge is having a plan to recover from such an event.

k-wowAuthor Commented:
Access 2007 has the capability to display tables in Tabs. Similar to how IE8 displays browser sessions in tabs. I have included a screenshot for your review.
Thanks, talk about a picture worth 10,000 words!

I am not aware of any shortcut keys in A2K7 that will close all object tabs.

However, you can right-click any of the tabs and select "Close All" for this effect.
Jeffrey CoachmanMIS LiasonCommented:

Make a Public function to close all open forms:

Public Function CloseAllTabbbedForms()

Dim objOpenForm As AccessObject
    For Each objOpenForm In Application.CurrentProject.AllForms
        DoCmd.Close acForm, objOpenForm.Name, acSaveYes
    Next objOpenForm

End Function

Then create an "AutoKeys" Macro to run it.

Here is a sample:

Open the database.
Open all three forms.
Press: Control-Shift-W
... to close all the open forms

There are a ton of websites listing shortcut keys for A2K7. This is one of the most comprehensive ones I've seen:

I haven't seen any that explicitly tell you how to "Close All" tabs using the keyboard alone.

However, I just noticed that if you hit

Ctrl + W (or Ctrl+F4)

The selected tab will close.

Keep holding the key combination down, and after a slight pause the remaining tabs will close simultaneously.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
k-wowAuthor Commented:
Glad to help :-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.