|
-
Aug 31st, 2007, 11:14 AM
#1
Thread Starter
Fanatic Member
Insert table values with a folder search files
Hi,
[MS Access 2003]
I'd like to be able to run an existing function on all the folders that are matching a certain search criteria, which is: \*\*\1\ - this means to look for 3rd level subfolders with folder name "1" only.
how do I go over a given folder and search in all its subfolder for a matching folder name?
- sample code will be most appreciated,
Thanks!
-
Sep 1st, 2007, 10:58 PM
#2
Re: Insert table values with a folder search files
look at this thread here, it basically does exactly what you want in excel, you will just need to alter to suit the Access VBA, from the VBA6
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|