Borders.AlwaysInFront property (Word)
True if page borders are displayed in front of the document text. Read/write Boolean.
Syntax
expression. AlwaysInFront
expression A variable that represents a 'Borders' object.
Example
This example adds a graphical page border in front of text in the first section in the active document.
Dim borderLoop as Border
With ActiveDocument.Sections(1)
.Borders.AlwaysInFront = True
For Each borderLoop In .Borders
With borderLoop
.ArtStyle = wdArtPeople
.ArtWidth = 15
End With
Next borderLoop
End With
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.