• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 503
  • Last Modified:

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

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
jrmcanada2
Asked:
jrmcanada2
1 Solution
 
jerryb30Commented:
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
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now