LayoutGuides Property

Microsoft Publisher Visual Basic

object consisting of the margin and grid layout guides for all pages including master pages in the publication.

expression.LayoutGuides

expression    Required. An expression that returns one of the objects in the Applies To list.

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