hi all,

my boss ask me to count how many file in a folder/
when i search i got link http://www.vbaexpress.com/kb/getarticle.php?kb_id=247
but when i run it, i get bug
"object doesn't support this action" and when i press debug go to:
Set fs = Application.FileSearch

how to solve this, or maybe someone have others macro or tools to count how many files in a folder?

i use office 2010.

many thanks

reza