SpaceAfterAuto Property Example

This example displays a report showing the SpaceAfterAuto settings for the active document.

Select Case ActiveDocument.Paragraphs.SpaceAfterAuto
    Case True
        x = "Spacing after paragraphs is handled " _
            & "automatically for all paragraphs."
    Case False
        x = "Spacing after paragraphs is handled " _
            & "manually for all paragraphs."
    Case wdUndefined
        x = "Spacing after paragraphs is handled " _
            & "automatically for some paragraphs, " _
            & "manually for some paragraphs."
End Select