D
Dan
Hi, I have a problem with templates and keyboard shortcuts; here is a sample
dummy scenario:
1) I create a new document, and create a new macro into it. Let's say the
macro is named Dummy and just shows a message box.
2) from the Tools / Customize menu command I assign this macro to say ALT+1.
3) I save the newly created document AS a template (DOT) e.g. in Program
Files folder.
Now, if I open the template and press ALT+1 the macro is executed as
expected. If instead I create or open another document, and goto Tools /
Templates and addins and I add the DOT as a global template, **no keyboard
binding I assigned to it (step 2) works**.
Thus, how can I create a DOT file to be loaded as a global template so that
its keybindings work? I also tried to assign the keybindings
programmatically in Autoexec, but this works only if the user has admin
privileges. How can I let this work?
Thanks to all!
dummy scenario:
1) I create a new document, and create a new macro into it. Let's say the
macro is named Dummy and just shows a message box.
2) from the Tools / Customize menu command I assign this macro to say ALT+1.
3) I save the newly created document AS a template (DOT) e.g. in Program
Files folder.
Now, if I open the template and press ALT+1 the macro is executed as
expected. If instead I create or open another document, and goto Tools /
Templates and addins and I add the DOT as a global template, **no keyboard
binding I assigned to it (step 2) works**.
Thus, how can I create a DOT file to be loaded as a global template so that
its keybindings work? I also tried to assign the keybindings
programmatically in Autoexec, but this works only if the user has admin
privileges. How can I let this work?
Thanks to all!