View Single Post
 
Old 09-18-2011, 11:34 AM
Stefan Blom's Avatar
Stefan Blom Stefan Blom is offline Windows 7 64bit Office 2010 32bit
Moderator
 
Join Date: Aug 2011
Posts: 4,008
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