View Single Post
 
Old 11-30-2018, 09:54 PM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
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

All that line does is add the hyphen between the >< characters where it was apparently missing. It has no other effect and when removed the macro ignores those lines as requested and works correctly with your example document and the additional examples. Are you sure that was the onloy line you deleted? Copy the code again and simply put an apostrophe at the beginning of the line for the code to ignore it.
__________________
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