![]() |
![]() |
Document.ActivePage
Property ActivePage As Page
Member of Document
The ActivePage property represents the active page of the current document.
The ActivePage property returns a read-only value.
The following code example shows the number and name of the current page in the first open document.
Sub Test() Dim d As Document Set d = Documents(1) MsgBox "Current page is " & d.ActivePage.Index & " (" & d.ActivePage.Name & ")" End Sub
![]() |
![]() |
![]() |
Copyright 2007 Corel Corporation. All rights reserved.