View Single Post
 
Old 09-17-2021, 02:50 PM
jec1 jec1 is offline Windows 7 32bit Office 2013
Advanced Beginner
 
Join Date: Jan 2012
Posts: 84
jec1 is on a distinguished road
Default Set Layout Options Word vba

Hi everyone, I use a File Options macro to set Word Options. Any ideas welcome.

Think I have my answer use Set Compatibility Options works for the below options:

I currently set the other Options I require using:
Sub FileOptions_User2()
Application.ScreenUpdating = False
Call ToolsOptionsView
Call ToolsOptionsEdit
Call ToolsOptionsSave
Call ToolsOptionsTrackChanges
Call ToolsAutocorrect
End Sub

I can't figure out how to call the layout options in VBA. Has anyone done the Layout options with VBA?

Sub ToolsLayout()
With .Options
.wdSuppressBottomSpacings = False
.wdExpandShiftReturn
.wdSuppressTopSpacing -False
.wdNoSpaceForUL = False
.wdSuppressSpBfAfterPgBrk = False
End With
End Sub

Thank you.
Reply With Quote