Thread: [Solved] Do Loop bug
View Single Post
 
Old 07-22-2017, 09:00 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

While the first part of your code appears to copy the paragraph 2 paragraphs before the found paragraph i.e. Community Health Systems, Inc. (CYHHZ), to another document, it is not at all clear what the second part of the loop is supposed to do. Can you clarify?

There is only one instance of each string in the document. Is that always going to be the case?
__________________
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