Reputation: 409
I'm having a problem with MS Word 2010 where I have some macros that I can't edit or delete. I'd like to delete them, but in the Macros dialog box, the edit and delete buttons are greyed out. I can run them though. When I try to step into them, I get an error message saying, "Project is unviewable."
I've tried to rename the Normal.dotm file (because I think this is where they're stored) and delete the Normal.dotm file. I've tried going into the VBA editor to access the macros from there, but when I expand the Normal project, I get the same message: "Project is unviewable." I've even tried to uninstall and reinstall Word, but my macros come back.
I've checked Google for solutions, but whether it's macro permissions or a problem with Normal.dotm, no suggestions are working. Does anybody know the solution? If even a complete Office reinstall doesn't work, is there any solution?
Upvotes: 0
Views: 5918
Reputation: 409
Okay, seems I've found the solution. I deleted the wrong Normal.dotm--the one from my own user account--and not the global one. There was one hiding in C:\Program Files (x86)\Microsoft Office\Office14\STARTUP, and once I deleted that and reloaded Word, Word recreated the template from scratch and the unwanted macros were gone.
Thanks to everyone who helped/looked for the solution!
Upvotes: 0
Reputation: 309
So you are unable to remove macros from MS Word. First, you need to open the Microsoft VBA Editor. Then, you need to locate the Project tab. This will contain the hierarchy of your MS Word doc and macros.
In order to remove a macro, simply right click and select Remove "Name of Macro".
Upvotes: 1