Does anyone knows or has a code snippet that would allow me to pick up the number of pages in a pdf file? I have inspected files from different versions of acrobat and there does not seem to be simple way to extract it programmatically. But admittedly I haven't seen pdf specs for quite a while. Robert