Yikes, that's ugly. Don't use word though, word has all sorts of special chars used for formatting that can be invisibly embedded in an IDE. Use notepad.
If it were me I would use the export feature to export everything to text. Open up those files in notepad and make sure they were clean. Then remove all the code. Go to debug>compile, then save an close outlook. Open outlook up and make import the files.

If the problem persists at this point, I would close outlook, go to the control panel and open up programs and features. Then instead of uninstalling Outlook, run repair.