I am new member, i will do my best efforts to be specifc and clear and respect the time of the members.I am a begginer in VBA and need your help.
I am using a free version of the program PDFtk that shows information about pdf files through a graphical interface (you can see the attached picture).
PDFtk
The program show for each pdf file 2 types of information:
- The file name
- The number of pages
However, i'm looking for a VBA macro that will retrive that information (file name, number of pages) and then write it to an open workbook in excel.
It's important that the VBA will search for pdf files at specific location in my computer c:emp
and then write to excel somthing like this:
Excel filenames and number of pages
In another words, a need a VBA that can do the job without "really" opening the graphical interface, and yet use the PDFtk application to get the correct number of pages.
Thanks in advance for your help
question from:
https://stackoverflow.com/questions/65849341/get-the-number-of-pages-and-file-names-of-pdf-files-using-pdftk-and-write-it-to 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…