View Single Post
 
Old 10-07-2020, 06:01 PM
Cendrinne's Avatar
Cendrinne Cendrinne is offline Windows 10 Office 2019
Competent Performer
 
Join Date: Aug 2019
Location: Montreal Quebec Canada
Posts: 190
Cendrinne is on a distinguished road
Default

ahhh Got it. I know why it didn't select the numbers. It's partly my fault. I'm the one that said sentence, but since these are often title line, we could consider them Paragraphs.

So below, instead of :
Code:
oRng.Expand Unit:=wdSentence
I've put :
Code:
oRng.Expand Unit:=wdParagraph
And it worked.

Thank you, case solved
Reply With Quote