Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-19-2025, 09:19 AM
thankyou thankyou is offline Paragraph Format -I want no spacing before/after, but this is not working for me. Windows 11 Paragraph Format -I want no spacing before/after, but this is not working for me. Office 2016
Novice
Paragraph Format -I want no spacing before/after, but this is not working for me.
 
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Paste in picture, wrap with line, format paragraph before and picture...close to working ctviggen Word VBA 3 03-25-2023 08:49 AM
Paragraph Format -I want no spacing before/after, but this is not working for me. Spacing before and after Paragraph CoventryKid Word 2 03-09-2021 11:22 PM
Paragraph Format -I want no spacing before/after, but this is not working for me. Style spacing not working after move from Word 2010 to 2019 - Spacing Before at top of page cbuck1 Word 1 05-17-2020 09:04 PM
Paragraph Format -I want no spacing before/after, but this is not working for me. Paragraph spacing Talullah Word 2 05-01-2012 12:32 PM
spacing within paragraph psmoore Word 1 06-22-2010 02:15 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:15 AM.


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