GetPageCount
The GetPageCount method returns the number of pages in the plot document. Returns a Long.
Syntax
object.GetPageCount()
Example
This example demonstrates how to return the number of pages in the document.
numPages = Document.GetPageCount()
Debug.Print "Pages= " + numPages
Used by: Document Object