View Single Post
 
Old 06-19-2025, 09:19 AM
thankyou thankyou is offline Windows 11 Office 2016
Novice
 
Join Date: Jun 2025
Posts: 3
thankyou is on a distinguished road
Default Paragraph Format -I want no spacing before/after, but this is not working for me.

Sub ParaNoSpace()
'
' keyboard Alt+p

With Selection.ParagraphFormat
.LeftIndent = InchesToPoints(0)
.RightIndent = InchesToPoints(0)
.SpaceBefore = 0
.SpaceBeforeAuto = False
.SpaceAfter = 0
.SpaceAfterAuto = False


End With
End Sub

Thank you for your suggestions

Last edited by thankyou; 06-19-2025 at 09:25 AM. Reason: version is Office 365
Reply With Quote