View Single Post
 
Old 06-04-2015, 05:51 AM
gmayor's Avatar
gmayor gmayor is offline Windows 7 64bit Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,137
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

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
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote