Get the total number of pages from the input PDF.
Function NumberOfPages(InputFileName As
String,
[Password] As Variant)
As Long
InputFileName
Input PDF file.
Password (optional)
Password to open the PDF document, if any.
Please refer to the list of return exceptions.
oConverter = CreateObject("EasyConverter.PDF2Word.1")
nPages = oConverter.NumberOfPages(inFileName)