How many file

i need a macro that find how many file have in
specific folder
and than set the number of file
like 2 files have
set 2 on system clipboard

You can count the number of files in a folder with:

  • Set variable “Count” to calculation “0”
  • For Each “Path” in Folder Contents collection
    • Set variable “Count” to calculation “Count+1”

I'm afraid I don't understand the latter half of your question.

1 Like