It was running fine before I added the ErrorHandler.
That is the only change I have made recently that could be the problem.Īn additional edit: the macro is coded to run on open. 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. 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. 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.
I tried changing the Trust Center settings but none of those options make a difference. I don't have access to any of the features in safe mode and the macro isn't even showing up. I can only open the document in safe mode and cannot figure out how to delete the macro from safe mode. I wrote a macro that now is causing issues with MS Word.