Document.LayoutGuides property (Publisher)
Returns a LayoutGuides object consisting of the margin and grid layout guides for all pages including master pages in the publication.
Syntax
expression.LayoutGuides
expression A variable that represents a Document object.
Example
The following example changes the grid layout guides so that there are three columns and five rows.
Dim layTemp As LayoutGuides
Set layTemp = ActiveDocument.LayoutGuides
With layTemp
.Rows = 5
.Columns = 3
End With
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.