Need some help with a macro to count all the sub-folders within a folder and then all the total files within all the sub-folders. I'd like to have the results displayed on a sheet within a workbook.
Folder name is "C:/Quotes Tool" - Need a count of all the sub-folders in this folder
Total Quotes = need count of all the .pdf files within the folder and sub-folders under C:\Quotes Tool (don't need it broken out by sub-folder - just the total amount of .pdf files.
Would like to display it like this on a sheet like "You have created xxx (number of pdf files) total quotes for xxx (number of sub-folders)."
I reviewed some similar requests but was unable to adapt them to work as above.
Thanks
Folder name is "C:/Quotes Tool" - Need a count of all the sub-folders in this folder
Total Quotes = need count of all the .pdf files within the folder and sub-folders under C:\Quotes Tool (don't need it broken out by sub-folder - just the total amount of .pdf files.
Would like to display it like this on a sheet like "You have created xxx (number of pdf files) total quotes for xxx (number of sub-folders)."
I reviewed some similar requests but was unable to adapt them to work as above.
Thanks