Previous Document Next Document

Object Model Reference : Classes : D : Document : Properties : Document.ActivePage


Document.ActivePage

Property ActivePage As Page

Description

Member of Document

The ActivePage property represents the active page of the current document.

The ActivePage property returns a read-only value.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.