Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 09-18-2011, 11:34 AM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is online now Don't add space between para of the same style Windows 7 64bit Don't add space between para of the same style Office 2010 32bit
Moderator
 
Join Date: Aug 2011
Posts: 4,010
Stefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to allStefan Blom is a name known to all
Default

The setting you mention can only be set for a Style object in Word. Using the Normal style as an example:

Code:
ActiveDocument.Styles("Normal").NoSpaceBetweenParagraphsOfSameStyle = False  ' spacing will be added
Yes, I know you can change it for the selection in the user interface with recent versions of Word, but this is either a bug or extended functionality not yet supported in VBA.
__________________
Stefan Blom
Microsoft Word MVP

Microsoft 365 apps for business
Windows 11 Professional

Last edited by Stefan Blom; 09-18-2011 at 03:06 PM.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't add space between para of the same style autocorrect double space to single space frankjake Word 8 09-21-2018 05:44 PM
Config style to restart numbering if it it comes after a style of a higher level ghumdinger Word 7 08-31-2011 01:10 AM
distorted last para lines when justifying RSF Word 0 08-18-2011 10:11 PM
Don't add space between para of the same style Is this a Tab space or Indentation space? Jamal NUMAN Word 1 06-30-2011 05:09 PM
Don't add space between para of the same style Tables that carry hidden para styles Ulodesk Drawing and Graphics 4 03-10-2011 08:16 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:51 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