Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 03-03-2023, 06:09 AM
gmayor's Avatar
gmayor gmayor is offline Find duplicates and combine them Windows 10 Find duplicates and combine them Office 2019
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

Your search string only finds single words, whereas to get what you want you need paragraphs so try
Code:
Do While r.Find.Execute(findText:="<*^13", MatchWildcards:=True, Wrap:=wdFindStop) = True
        r.End = r.End - 1
__________________
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find duplicates and combine them find/remove duplicates hephalumph Word 9 02-06-2022 07:23 PM
Find duplicates and combine them Find duplicates in colums by row only akol1214 Excel 3 10-04-2018 11:58 PM
How to find out the duplicates and highlight them? Learner7 Excel 6 06-08-2017 06:04 AM
Find duplicates and combine them find and delete duplicates rcVBA Word VBA 4 05-15-2013 03:08 PM
Find duplicates formula hannu Excel 2 10-26-2010 02:48 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft