ActivePage property
Returns the active Page object.
Version added
2.0
Syntax
| |
objRet |
A Page object that represents the active page. |
object |
Required. An expression that returns the Application object that owns the page. |
Remarks
The ActivePage property returns a Page object only when the active window displays a drawing page; otherwise, it returns Nothing. To verify that a page is active, use the Is operator to compare the ActivePage property with Nothing.