Lene Fredborg, DocTools, har hvert år siden 2008 modtaget den prestigefyldte pris som Microsoft Most Valuable Professional (MVP) i Word – link til information om MVP Award'en DocTools - dokumentautomatisering - add-ins, makroer og skabeloner til Microsoft Word (logo) Dokumentautomatisering
Add-ins & Makroer
Til Microsoft Word
Dokumentautomatisering, skabeloner (templates), add-ins og makroer til Microsoft Word (grafik)

Bogmærk denne side | Tip en ven om DocTools

Søg thedoctools.com:

Custom Search


Troubleshooting – Shortcut to Macro Does Not Work

You can assign shortcuts to macros either via the user interface or programmatically via VBA. This article provides a workaround if you encounter the problem that the shortcut you assign to a macro does not work.

Terms of use

You are welcome to use the macros and Word tips provided on this website. The contents is copyright. You may not reproduce any of contents (with or without modification or credits) elsewhere on the web, or on CD. Please link to the contents on this website instead.

Please note that all free Word tips, macros, add-ins and demos are provided "as is" and without obligation. See also detailed Terms of use.

I have only encountered the problem once myself. No matter which shortcut I tried to assign to a specific macro it did not work.

Solution – rename the macro

Finally, I tried to rename the macro and that solved the problem. A couple of times, I have suggested that solution to other users who encountered the same problem and renaming the macro in question solved the problem for them too.

It does not seem to matter where the macro is stored. My macro was in a global template stored in Microsoft Word's Startup folder. One of the other macros with the problem were found in Normal.dot.

We may never find the reason to the problem. But if it can be solved by renaming the macro in question, at least there is a workaround.

Top of page

Back to Macros...

BulletADD-INS Word add-ins ready for use - work smarter in Word

Copyright © 2006-2018 Lene Fredborg – DocTools ApS – alle rettigheder forbeholdt | Microsoft Word skabeloner (templates) – add-ins – VBA makroer | Spar tid og arbejd mere effektivt i Microsoft Word
Privat politik | Betingelser for brug | Om cookies | Bogmærk denne side | Tip en ven | Links | Kontakt