Question: I wrote a macro that now is causing issues with MS Word. I can only open the document in safe mode and cannot figure out how to delete the macro from safe mode. I don't have access to any of the features in safe mode and the macro isn't even showing up. I tried changing the Trust Center settings but none of those options make a difference. Unfortunately I was very dumb and made it a macro on all documents so I can't open any documents without going into safe mode. help!

To be more specific, I believe the code that broke my MS Word was a OnError GoTo ErrorHandler where I tell it to skip to the next if there is an error. I am working on converting equations to a professional format and some of them don't have the right syntax for the conversion so for now I wanted it to ignore those equations and convert the next equation. That is the only change I have made recently that could be the problem.

An additional edit: the macro is coded to run on open. It was running fine before I added the ErrorHandler. I'm sure this is also a huge part of the problem, but a simple solution may not be the right fix since it automatically runs when I open the document. I can't access anything in safe mode.

Answer: 
If you are talking about the "Normal" document in the project explorer, resetting it is easy.

[![enter image description here](https://i.stack.imgur.com/MkLue.png)](https://i.stack.imgur.com/MkLue.png)

Simply navigate to `%AppData%\Microsoft\Templates` and either delete or rename the Normal.docm file. Once you reopen Word it will regenerate a brand new file automatically - one that contains no code.

[![enter image description here](https://i.stack.imgur.com/3tJtG.gif)](https://i.stack.imgur.com/3tJtG.gif)
You created an `AutoOpen` macro which only fires when a document is opened. Presumably this macro is stored in your Normal template.

When you first start Word the macro should not run as you are not opening a document. If Word doesn’t automatically create a new blank document you can safely do so. You will then be able to access and edit the macro you created.