Quote:
Originally Posted by cyraxote
Just one question: why start with the 2nd paragraph?
|
Because the 1st paragraph has no previous paragraph to compare with (so there's no point) and trying to do so would cause an error.
I note that your code has:
Code:
Selection.WholeStory
With Selection.ParagraphFormat
.SpaceBefore = 0
.SpaceBeforeAuto = False
.SpaceAfter = 6
.SpaceAfterAuto = False
.LineSpacingRule = wdLineSpaceSingle
End With
Do note that's not exactly an optimal way to manage document formatting; what you should do is modify the relevant Styles.