#1
|
|||
|
|||
Change template priority via VBA
Word seems to give priority to customizations in attached templates over those in the normal template when there is a conflict. For instance, I have shortcut keys assigned to macros in my normal template. When I attach a custom template that has conflicting assignment for those same shortcut keys, Word will revert to their assignment in the custom (attached) template.
Example: My Normal template has this key assignment: Alt+A launches AcceptChanges I attach a custom template with this key assignment: Alt+A launches ApplyTableStyle Once I attach the custom template Alt+A always launches ApplyTableStyle. Is there any way via VBA or otherwise to change the preference order for template customizations? |
#2
|
||||
|
||||
The hierarchy is by design and doesn't only apply to shortcuts. It is a principle reason for creating a template, that all the configuration for the documents it creates is stored in the template.
The hierarchy is 1. Document template 2. Add-in Template 3. Normal Template
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#3
|
|||
|
|||
Thanks gmayor. I absolutely understand what you're saying. I just found myself in a situation where I would have liked to use my own shortcut keys although I needed to attach to someone else's template to format a particular document.
Ahh well, perhaps I can reassign the shortcuts I use most often so they don't conflict. Thanks for taking the time to answer! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Template, Multi-List Heading Numbers Reverting to Template Rather than Keeping Local Change | whsnow | Word | 2 | 03-24-2018 06:57 AM |
Automatic Priority List Update | Chappster | Excel | 2 | 11-24-2014 04:24 AM |
Task allocation by priority | dlowrey | Excel Programming | 3 | 06-18-2012 07:24 PM |
address book priority | excelledsoftware | Outlook | 1 | 05-05-2012 09:01 PM |
Calender month view peeve - display high priority over low priority appts? | ghumdinger | Outlook | 0 | 07-25-2011 03:56 AM |