Traversing files and subdirectories of files

R

russur

Hi,

I need to traverse a large subdirectory that potentially contains even
more files and subdirectories, converting Visio files to pdf in their
current directory.

i've seen the code to traverse files, and how to determine if a file
is a subdirectory, but I would think ideally i would write this as a
recursive function, to traverse all the files in all the directories.

Does anyone have some sample code that allready does the traversing of
subdirectories?

Thank you very much!


Russ
 
P

Paul Herber

Hi,

I need to traverse a large subdirectory that potentially contains even
more files and subdirectories, converting Visio files to pdf in their
current directory.

i've seen the code to traverse files, and how to determine if a file
is a subdirectory, but I would think ideally i would write this as a
recursive function, to traverse all the files in all the directories.

Does anyone have some sample code that allready does the traversing of
subdirectories?

Thank you very much!

These newsgroups are no longer in use and it is unlikely that you will get any
other answer here.
There are replacement forums for Visio, Microsoft's own:
http://social.technet.microsoft.com/Forums/en-US/visiogeneral/threads
http://answers.microsoft.com/en-us/office/forum/visio?page=1&tab=all

or Visio MVP VisioGuy
http://www.visguy.com/vgforum/

However, as your enquiry is about VBA rather than Visio a quick answer is
Google for "vba recursive file list", more code examples than you can throw a stick at.


--
Regards, Paul Herber, Sandrila Ltd.
Electronics for Visio http://www.sandrila.co.uk/visio-electronics/
Electrical for Visio http://www.sandrila.co.uk/visio-electrical/
Electronics Packages for Visio http://www.sandrila.co.uk/visio-electronics-packages/
TTL for Visio http://www.sandrila.co.uk/visio-ttl/
CMOS for Visio http://www.sandrila.co.uk/visio-cmos/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top