Export (0) Print
Expand All

Document.LayoutGuides Property

Office 2007
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.

Visual Basic for Applications
Dim layTemp As LayoutGuides

Set layTemp = ActiveDocument.LayoutGuides

With layTemp
    .Rows = 5
    .Columns = 3
End With



Community Additions

ADD
Show:
© 2014 Microsoft