![]() |
#2
|
||||
|
||||
![]()
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 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
hephalumph | Word | 9 | 02-06-2022 07:23 PM |
![]() |
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 |
![]() |
rcVBA | Word VBA | 4 | 05-15-2013 03:08 PM |
Find duplicates formula | hannu | Excel | 2 | 10-26-2010 02:48 AM |