Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 04-02-2015, 06:29 AM
gmayor's Avatar
gmayor gmayor is offline Allowing space between paragraphs of same style Windows 7 64bit Allowing space between paragraphs of same style Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,142
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

OK, I tried -
Code:
Sub LineSpacing6pt()
Dim opara As Paragraph
Dim i As Long
    For i = 1 To Selection.Range.Paragraphs.Count
        Set opara = Selection.Range.Paragraphs(i)
        opara.Range.Style.NoSpaceBetweenParagraphsOfSameStyle = False
        opara.Range.ParagraphFormat.SpaceAfter = 6
    Next i
lbl_Exit:
    Exit Sub
End Sub
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Allowing space between paragraphs of same style Style affecting other paragraphs around the word I'm trying to change. Bahamut5098 Word 2 03-02-2015 01:42 PM
Delete lots of empty space between paragraphs. FieldTechnician Word 4 10-25-2013 01:14 PM
Don't add space between para of the same style ghumdinger Word 3 09-19-2011 02:04 AM
Don't Add Space between paragraphs option Emerogork Outlook 12 07-18-2011 10:01 AM
Space between paragraphs... Emerogork Outlook 2 06-24-2011 10:23 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:25 PM.


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