Solution:Macros Disabled/Macros Don’t Work in Outlook 2003
There’s a problem with Outlook 2003 that I’ve run into a few times at work, and I finally found a solution to it. It’s not a way to prevent it from happening, but at least now I know how to fix it when it does happen.
The problem is that in Outlook 2003 I have a few macros set up, that do simple things like opening up custom forms. These macros are then mapped to toolbar buttons in Outlook, so with one click the form launches. Usually this works well, but every now and then the buttons will stop working. And not just the buttons, but everything underneath the Tools > Macro item in the menu. It’s not greyed out, it just doesn’t work. Clicking it does nothing.
Now, before this was a big deal. I would try fifteen different things to fix it, then usually had to end up creating a new user profile on the computer to get the functionality back. And that’s a bad fix, because giving someone a new profile and making them rebuild all their customizations is hardly a good solution. But then luckily I found this forum post, written earlier this month, that outlines exactly what the problem is and how to fix it.
The problem is just one setting that gets set in the registry. I don’t know why or how it gets set, but removing it restores macro functionality. The entry is in this registry key:
HKCU\Software\Microsoft\Office\11.0\Outlook\Resiliency\DisabledItems
Under that is a list of items that have been disabled in Outlook. I was lucky, and when I looked there was only one item listed so it was easy to identify the correct one. If there is more than one item listed, you’ll have to open each one to identify the one you need. It looks like this:
The hex decoding is kind of funny there, but you can make out that on the right-hand side it says “addins\outlvba.dll Microsoft VBA For Outlook Addin.” Now why the VBA add-in would be disabled, and why it happens automatically without any user intervention, these are still mysteries. But all you have to do is delete that registry key, and the settings is undone. Macros will work again.
It’s also possible that you can go to Help > About Outlook > Disabled Items, and find and enable VBA there. But I haven’t tested that fully.
Filed under The Computer Vet Weblog
Thank you for this insightful article. I had this same problem, and I couldn’t figure out how to get my macro to work. Your article saved me lots of grief!
the help -> about -> disabled items worked for me.
Thanks a lot!! Worked a treat (Your solution re regedit).
The folder “Resiliency” doesn’t exist in my directory structure. 🙁
Thank you very much. I would not know how I would have solved this without your help. Great!!
I just noticed what causes this problem.
When Outlook has to shut down from an unrecovarable error, it gives notice, saying it will disable whatever caused it. This can be reset using the help-about menu. You will find that VBA add in is disabled, an indeed can be restored from that menu.
This ploblem was teasing me for some time now.
I even imported it from my old PC with the -save my settings wizard- (a good tool, apart from this).
I did not have the registry-entry, so enabling it through Help > About was my only option, and it works. Thanks Philip.
“It’s also possible that you can go to Help > About Outlook > Disabled Items, and find and enable VBA there. But I haven’t tested that fully.”
Well, i tried this one first and its working again!!!
Thanks!