Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-07-2016, 08:16 AM
dan88 dan88 is offline Insert Paragraph after each list item  - All Lists Windows 10 Insert Paragraph after each list item  - All Lists Office 2016
Novice
Insert Paragraph after each list item  - All Lists
 
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, 22 views)
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding another item to the end of an existing list cdrdash Word 2 01-28-2015 09:53 AM
insert linked item in email userman Outlook 0 06-14-2012 12:27 AM
Multilevel lists and paragraph indentation computerdummy Word 2 04-27-2012 02:32 PM
Insert an item to excel specific cell apjneeraj Excel 0 01-18-2011 03:39 AM
Referens to an item list... matbli Word 0 10-29-2009 08:04 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:25 AM.


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