Share via


Page.Move Method

Publisher Developer Reference

Moves the specified page to the specified index in the Pages collection.

Syntax

expression.Move(Page, After)

expression   A variable that represents a Page object.

Parameters

Name Required/Optional Data Type Description
Page Required Long The index number of the Pages collection where the specified page will be moved.
After Optional Boolean True if the page will be inserted after the specified index number of the Pages collection specified by the Page parameter. Deafult is True.

Example

This example moves the first page of the publication before the third page of the publication. This example assumes that there are at least three pages in the document.

Visual Basic for Applications
  ActiveDocument.Pages(1).Move page:=3, After:=False

See Also