API Documentation > CorelDRAW > 2025-v26 > Page > IVGPage
Page.MoveTo method
Moves the Page to a new page number within the document's page order
Syntax:
Sub MoveTo(ByVal Index As Long)
Parameters:
Name Type Description
Index
Long
Remarks:
The MoveTo method moves a page to a specified position in the document.
Examples:
The following VBA example moves the second page to the beginning of the document.
Sub Test()
ActiveDocument.Pages(2).MoveTo 1 
End Sub