Rylo, Great work! I like the names for the worksheets. They're very appropriate. Thanks for adding the date column to the working sheet.
This can be very beneficial in sorting data. I think things are really improving.
But, I'm still seeing the issue with the display of the values in columns:L-N,
or last just say was..... Earlier today,our Global drive was down. So, I only
had my work PC to test this lastest version. At first, I was relecutant to
put the test folder on the C:\ as a parent folder. ie: C:\Elec Dept Projects.
I have been using or testing from within MyDocuments folder. This was the
root cause of the following problem, that I mentioned before and showing below:
.... and I think I know why, but I maybe wrong.
Yourset the script to read the directory paths from the left, and to go
2 folders deep. C:/folder1/subfolder1/*bom*.xls
(C:\Elec Dept Projects\*jobfolder*\*bom*.xls)
I've setup the test folder in My Documents directory. Therefore the the
folder depth has increased.
C:\Documents and Settings\bdb\My Documents\Elec Dept Projects\**\*\*BOM.xls
where :
** = the Status Folders
* = the Project Folders
Column L , displays:C:\Documents and Settings\brianb
Column M:,displays: My
Column N, displays:My Documents
Another minor issue I've fixed is:
To
Once, I've moved the test folder up to C:\, "MAGIC!!!!!"
Since then, the global drives have come back up.
I've even tested the NONCOMPLETES code , on the L: drive, an and its functioning, beautifully.
But, I've run into a snag, testing the COMPLETED code. I was getting an error when trying to action it.
I thought maybe, I could reverse,engineer the NONCOMPLETE code to
stop the search for all the NONCOMPLETE folders, and just leave the COMPLETES. Anyways, I've started with just making one change.
Before, I went any further, I just replaced the COMPLETED w/
I, pretty sure this will work, I've also changed it to Activate:
Sheets("Completed").Activate
Once, I made the changes,and ran the macro, it started actioning,
but,now,since I've started the macro, it's only actioned 37 of 200 files.
I was wondering if this macro will hang if another user has a folder opened
or an open *.BOM* file? Anyhow, will the following change below work?
Can I nestle a string of folders, for one If instruction?
Also, back to the issues, with how it seeks out the path and assigns the
values to cells L-M. Can it possibly be setup to read from the RIGHT instead of the LEFT, therfore, if I want to test from:
C:\Documents and Settings\bdb\My Documents\Elec Dept Projects\**\*\*BOM.xls
it can list starting on the right with \*\, and put first 3 digit of \*\ in Column M. then, \**\ for column L.
I know, I said, I told you that the L:\Elec Dept Projects will never move.
But, I didn't plan on testing updates from another drive/ or from within a
subfolder.
I'll leave this totally up to you. Right, now, I'm totally happy with everything that you have done for me so far. I couldn't be more pleased. Thanks again
and
Happy New YEAR to you !!!!!!!!!
BDB
....C'ya in 2009
Bookmarks