Object Model Reference : Classes : D : Document : Properties : 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 VBA 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 2013 Corel Corporation. All rights reserved.