Solved

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

Posted on 2013-02-06
2
495 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
ID: 38862506
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
ID: 38863322
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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

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…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

839 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