lemonhalls
Technical User
Currently I have this code to change the margin of the entire doc.
With ActiveDocument.Range(Start:=Selection.Start, End:=ActiveDocument. _
Content.End).PageSetup
.LeftMargin = CentimetersToPoints(1.3)
End With
But I would like to change the margin on the TOC page only by using
With activeDocument.Sections(2).PageSetup.LeftMargin = CentimetersToPoints(0.8)
But this latter code seem to change the margin of all the pages there after.
How do I get this margin change to apply to the second page only?
Thanks
With ActiveDocument.Range(Start:=Selection.Start, End:=ActiveDocument. _
Content.End).PageSetup
.LeftMargin = CentimetersToPoints(1.3)
End With
But I would like to change the margin on the TOC page only by using
With activeDocument.Sections(2).PageSetup.LeftMargin = CentimetersToPoints(0.8)
But this latter code seem to change the margin of all the pages there after.
How do I get this margin change to apply to the second page only?
Thanks