Results 1 to 2 of 2
  1. #1
    Lounger
    Join Date
    Jan 2006
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow

    Hi,

    I can open all documents in a directory using something like
    do until filename = ""
    'do something
    filename = dir
    loop

    Is it possible to do this with subdirectories in a directory as well? So that i can nest this statement? And so open all documents in the first subdirectory and then open all the documents in the next subdirectory?

    At the moment I open the subdirectories through code and so have 10 subroutines that are exactly the same except for the directorynames. This is not beautiful...

    I hope to hear from you,

    Thanks,

    Paul

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    See for example [topic="700293"]this topic[/topic].

Posting Permissions

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