Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 09-18-2021, 11:09 AM
Peterson Peterson is offline Set Layout Options Word vba Windows 10 Set Layout Options Word vba Office 2019
Competent Performer
 
Join Date: Jan 2017
Posts: 143
Peterson is on a distinguished road
Default

Try this:


Code:
Sub ToolsLayout()
     With ActiveDocument
    
        .Compatibility(wdSuppressBottomSpacing) = False
        .Compatibility(wdExpandShiftReturn) = False
        .Compatibility(wdSuppressTopSpacing) = False
        .Compatibility(wdNoSpaceForUL) = False
        .Compatibility(wdSuppressSpBfAfterPgBrk) = False
        
    End With
End Sub
Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Set Layout Options Word vba Word Compatibility Options ldoodle Word VBA 2 11-01-2018 01:20 PM
Why is my document lose its layout when saving from MS Word 2010 to MS Word 2016 Format qadeerahmed Word 1 07-17-2017 04:59 AM
New Master doesn't show up in my layout options LadyBug679 PowerPoint 0 02-17-2017 10:44 AM
Set Layout Options Word vba Word Not Saving Options BriMercer Word 4 11-10-2009 11:00 AM
Set Layout Options Word vba Word options ehrenben Word 1 04-29-2009 02:27 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:31 PM.


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