Solved

Add a shortcut key to the quick access toolbar in Access 2010

Posted on 2013-02-06
2
491 Views
Last Modified: 2013-02-07
I'd like to add a shortcut on the quick access toolbar to the key combination CTRL-ENTER. I can make a macro that uses SENDKEYS to sent CTRL-ENTER and then add that macro to the quick access toolbar. The problem with that is that it only works for the current database. As soon as I start a new database, I have to copy the macro into it.

Is there a way to have a macro automatically added to any new database? Or is there a better approach?
0
Comment
Question by:jrmcanada2
2 Comments
 
LVL 26

Expert Comment

by:jerryb30
Comment Utility
One approach is to create an otherwise empty database with the features you want, not related to tables, queries, etc. Including any macros, modules.
Then, instead of creating a new database each time, you simply copy and rename a master database.
Analogous to editing the SQL Server Master database.
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 200 total points
Comment Utility
You can modify the "blank" template, which is the default one used when creating new, blank databases:

http://office.microsoft.com/en-us/access-help/create-a-new-database-HA010037837.aspx#BMblanktemplate

That article is for 2007 but would apply to 2010 as well.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now