Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Find file in folder and sub-folder and sub-folder and sub-folderand etc...
Hi,
I'm looking for a VBA code, which will find a certain file in the given folder path and _ALL_ the sub-folders of that path - regardsless of the number of sub-sub-sub-folders the path contains. But I can only make my code search the first sub-folder - not the sub-folders of that sub-folder... or the other sub-folders. And, the file, I'm looking of is named "DVDID.XML". And, if found it should list the files full path in column "A". Could anyone, please, point me in the right direction? TIA, CE |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Find file in folder and sub-folder and sub-folder and sub-folder and etc...
On Sat, 15 Sep 2012 10:08:37 +0200, "Charlotte E." wrote:
Hi, I'm looking for a VBA code, which will find a certain file in the given folder path and _ALL_ the sub-folders of that path - regardsless of the number of sub-sub-sub-folders the path contains. But I can only make my code search the first sub-folder - not the sub-folders of that sub-folder... or the other sub-folders. And, the file, I'm looking of is named "DVDID.XML". And, if found it should list the files full path in column "A". Could anyone, please, point me in the right direction? TIA, CE See he http://support.microsoft.com/kb/185601 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
VBA can't find file as it moves from folder to folder | Excel Programming | |||
Save file in a new folder, but create folder only if folder doesn't already exist? | Excel Programming | |||
Need code to save file to new folder, erase from old folder | Excel Discussion (Misc queries) | |||
open file from folder save in new folder | Excel Programming | |||
Create Folder and Text File in folder | Excel Programming |