View Single Post
 
Old 04-23-2022, 10:10 PM
Karthik221 Karthik221 is offline Windows 10 Office 2010
Novice
 
Join Date: Apr 2022
Posts: 1
Karthik221 is on a distinguished road
Question How to check if a paragraph is having minimum 5 sentence ? If not merge with next para.

I would like to check whether each of my paragraph in my document contains atleast minimum of 5 sentence. If it does not have 5 sentence, I would like to have a macro to merge it with following paragraph.

Also I would like to check each paragraph should not exceed 15 sentence on it.

To explain in para notion, the document should be like this when para marks are on !

abc apple^p
efg ball^p
hij cat^p
lmn dog^p
opq elephant^p --> here 1st para got ended with 5 sentence on it
^p
rst fox^p --> second para got begins with one empty para in between
uvw girrafe^p
xyz horse^p
abc igloo^p
def jaguar^p --> here 2nd para got ended
^p