The rdbmerge addin that Ron has is getting closer, however it does not scan
all of the subfolders (directories), even when selected to do so...
The file structure is as such (with different names);
Home
- Building 1
- 102 Charly
- Documents
- 104 Dave
- Documents
- 111 Fred
- Documents
- Building 2
- 221 Mary
- Documents
- 234 Sue
- Documents
- 258 Lisa
- Documents
The xls file is in the documents folder. The workbook has the same name and
the worksheet is also the same name. It is on a network mapped drive. I am
going to play around with some of the other utilities available on that site
but still have not a foolproof way of getting this to work, yet.
> Hi Steve
>
[quoted text clipped - 50 lines]
> >> >
> >> > Is there a better way to do this? Thanks in advance.
Rick Rothstein (MVP - VB) - 15 Jun 2007 19:45 GMT
> The file structure is as such (with different names);
>
[quoted text clipped - 17 lines]
> and
> the worksheet is also the same name. It is on a network mapped drive.
A follow up question... are you looking to combine worksheets in all the
Building directories taken together, or in each Building directory
individually?
Rick
Steve - 15 Jun 2007 21:06 GMT
I am looking to total the amount of a certain cell taken from the first
worksheet from each workbook in all directories and subdirectories. The file
and worksheet name is the same in each directory and subdirectory. This
total will then be displayed in a new xls file which will keep an updated
quanity. I have been playing with more scripting, only I can not find one
that will successfully make it down through all of the subdirectories...
> > The file structure is as such (with different names);
> >
[quoted text clipped - 23 lines]
>
> Rick
Ron de Bruin - 16 Jun 2007 12:41 GMT
My code only use the files in the folders below the root dir
You can see the code on my FSO page and change it so it will loop also through
the files in the folders below the sub folders
http://www.rondebruin.nl/fso.htm

Signature
Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm
> The rdbmerge addin that Ron has is getting closer, however it does not scan
> all of the subfolders (directories), even when selected to do so...
[quoted text clipped - 76 lines]
>> >> >
>> >> > Is there a better way to do this? Thanks in advance.