View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Noemi Noemi is offline
external usenet poster
 
Posts: 74
Default get no pages in pdf using excel

Hi

Is it possible to get the number of pages of a pdf document. Prefer not to
have to open the pdf as this would slow down the process but if there is no
other way.

I currently have a code which updates an excel spreadsheet with page numbers
of a pdf. At the moment it works based on the file name (pdf has the file
name as the page number), it splits the names until the next pdf page number
is reached however the pdf page numbers are not always sequencel therefore I
really need to find a code in excel which allows me to obtain the number of
pages within a pdf document.

I hope this makes sense.

--
Thank you
Noemi