View Single Post
 
Old 05-07-2016, 08:16 AM
dan88 dan88 is offline Windows 10 Office 2016
Novice
 
Join Date: Feb 2016
Posts: 24
dan88 is on a distinguished road
Default Insert Paragraph after each list item - All Lists

Hi all,

I have lots of lists in the document that need to be formatted a certian way - they need to have a paragraph inserted after it.

I would like to do this for all my lists

Here is example attachement image


i have started basic idea

Code:
Sub SpaceLists()

Dim oPara As Word.Paragraph

 For Each oPara In ActiveDocument.Paragraphs
        If oPara.Range.ListFormat.ListType = wdListBullet Then
        
        oPara.Next.Range.InsertAfter = normalPara
        
        

End Sub
am i on the right track?

thank you

dan
Attached Images
File Type: png Image.png (22.6 KB, 20 views)
Reply With Quote