I am a beginner when it comes to VBA. Trying to create a macro that will increase the top margin by 1pt.
I have tried the below. Im not sure how to increase the value of the current margin setting. Any assistance would be greatly appreciated.
Thank you.
Code:
Sub MarginMove1()
With ActiveDocument.PageSetup
.TopMargin = InchesToPoints("" + 1)
End With
End Sub