How do I count the number of files in a PDF folder?

How do I count the number of files in a PDF folder?
Answer
Count the page numbers of Pdf files from a folder in worksheet with VBA code
  1. Open a worksheet where you want to get the Pdf files and page numbers.
  2. Hold down the ALT + F11 keys, and it opens the Microsoft Visual Basic for Applications window.
  3. Click Insert > Module, and paste the following macro in the Module Window.
 

Tìm kiếm

Back
Top