Description
Gets the total number of horizontal pages that are wider than the Print Preview window when a report is viewed in Print preview.
Syntax
PageCountAcross ( )
Return value
Long. Returns the total number of horizontal pages if it succeeds and -1 if an error occurs.
Usage
PageCountAcross applies to Print Preview.
Examples
This expression returns the number of horizontal pages in the Print Preview window:
PageCountAcross()
See also