Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 05-07-2016, 01:23 PM
gmaxey gmaxey is offline Insert Paragraph after each list item  - All Lists Windows 7 32bit Insert Paragraph after each list item  - All Lists Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,635
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

You might hit and error or have to do a little cleanup but try:

Code:
Sub ScratchMacro()
'A basic Word macro coded by Greg Maxey
Dim oPar As Paragraph
Dim oParNew As Paragraph
  For Each oPar In ActiveDocument.Paragraphs
    If oPar.Range.ListFormat.ListType = 3 Then
      oPar.Next.Range.Select
      If oPar.Next.Range.ListFormat.ListType = 3 Then
        oPar.Range.InsertAfter vbCr
        Set oParNew = oPar.Next
        oParNew.Style = "Normal"
      End If
    End If
  Next
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 



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:32 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