How to list all files of a given folder (recursively through sub-folder)?

ms-word, vba

Solution

Check out the answers here - VB6 is almost identical to VBA.

- You will need to add a reference to the Microsoft Scripting Runtime if you want to use `FileSystemObject`

- Or you can just drop in the CDirDrill class which means you won't need any external references.

Problem

I'm writing a microsoft word macro and having difficulty with vb.net. Please help.

Original source

Related problems