About This File
Someone asked if it is possible to count the pages of a PDF...
The attached file contains a tail recursive custom function that can do the work for the most common cases.
What's New in Version 1.6.0 See changelog
Base64Decode( ) function sometimes fails to decode a base64 encoded pdf.
This version find the correct number of pages in a greater number of cases.