Search notes:

Excel Object Model: Pages

Determining the number of pages on a worksheet

The number of pages on a worksheet can be determined with the following expression:
debug.print activeSheet.pageSetup.pages.count
sa: Excel Object Model

Index