Previous Document Next Document

Object Model Reference : Classes : P : Page : Methods : Page.MoveTo


Page.MoveTo

Sub MoveTo(Index As Long)

Description

Member of Page

The MoveTo method moves a page to a specified position in the document.

Parameter
Description
Index
Specifies a new index number for the page, thereby repositioning the page in the Pages collection

VBA example

The following VBA example moves the second page to the beginning of the document.

Sub Test()
 ActiveDocument.Pages(2).MoveTo 1
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.