There were no macros in the document and the macro in the illustration is in error because the highlighted line that names the macro 'Sub HideTextDoubleBrackets' is a duplicate of the previous line. No doubt there are two 'End Sub' lines also.
Add Option Explicit (if not already present) to the top of the module and click Debug > Compile Normal.
See
http://www.gmayor.com/installing_macro.htm