API Documentation > CorelDRAW > 2025-v26 > Application > IVGApplication
Application.ActivePage property
Gets the reference to the currently active page
Syntax:
Property Get ActivePage() As Page
Remarks:
The ActivePage property returns the active page in the active document.
Examples:
The following VBA example changes the background color of the current page in the active document to red.
Sub PageActive()
ActivePage.Color.RGBAssign 255, 0, 0 
End Sub