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
Answer
Count the page numbers of Pdf files from a folder in worksheet with VBA code
- Open a worksheet where you want to get the Pdf files and page numbers.
- Hold down the ALT + F11 keys, and it opens the Microsoft Visual Basic for Applications window.
- Click Insert > Module, and paste the following macro in the Module Window.