PAGES

Syntax:

1. PAGES( )

Gives the number of y-pages in the worksheet.

2. PAGES( 0 )

Gives the number of x-pages in the worksheet.

3. PAGES( 1 )

Gives the number of y-pages in the worksheet.