Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Mar 2001
    Posts
    989
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Recursive file list (2002)

    I can use the Dir function in VBA to list all files in a folder, as well as its folders. How can I then look for all files in subsequent sub-folders? Andy.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Recursive file list (2002)

    You can use Application.FileSearch and set the SearchSubFolders property to True.

    Or see <post:=440,579>post 440,579</post:> (the code is for Access, but the basic idea is the same)

  3. #3
    5 Star Lounger
    Join Date
    Mar 2001
    Posts
    989
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Recursive file list (2002)

    Thank you very much.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •