Hi again Bikeman,
I think that this thing is starting to look good!!!
I've added the "Change Notice" worksheet to the "Master" workbook, and for each uncompleted PCN workbook it highlights where the current logjam is, and for how many days it has lasted (up to the date of the report).
To see how the application works, do the following:
(1) Create an "overall" PCN folder - you can name the folder whatever you like, because the VBA Code doesn't need to know the name of the "overall" folder
(2) Copy the "Master" workbook into the "overall" folder
(3) Create two folders inside the "overall" folder - name one of these folders "Issued", and the other one "Change Notice" (if you need to change these folder names later on it will require only a very simple alteration to the VBA code)
(4) Copy the first three PCN workbooks (12345, 23456 and 34567) into the "Issued" folder
(5) Copy the next three PCN workbooks (45678, 56789 and 67890) into the "Change Notice" folder - all of these workbooks represent PCN's whose approval process has not yet been completed
(6) Copy one of the uncompleted PCN workbooks (e.g. 45678) also into the "Issued" folder
(7) Open the "Master" workbook
(8) On the "Issued" worksheet, if appropriate, click on the "Clear" button and then click on the "Update" button - a message will be generated stating that PCN workbook 45678 is incomplete, data from each of the fully completed PCN workbooks will be copied to the "Issued" worksheet, and all of the fully completed PCN workbooks will be moved to the "Processed" folder in the "Issued" folder - the "Processed" folder will be created automatically if it does not already exist. The uncompleted PCN workbook 45678 will NOT be moved to the "Processed" folder.
(9) On the "Change Notice" worksheet, click on the "Update" button (this will automatically clear the worksheet before starting the updating process, so you don't need to click on the "Clear" button if the worksheet already contains data). Data from each of the uncompleted PCN workbooks will be copied to the "Change Notice" worksheet, and the various formulas and Conditional Formatting will highlight the location and duration of the current logjam. PCN workbooks from the "Change Notice" folder are NOT moved to a "Processed" folder as these files will be processed several times until all of the necessary approvals have been issued. At that stage you should move them manually to the "Issued" folder where the workbook can be processed for the last time before being moved automatically to the "Processed" folder.
Try the above and let me know what you think of it.
While I've been typing this it's just occurred to me that it should probably be possible to detect when the final approval has been issued for a PCN workbook currently in the "Change Notice" folder, and then to automatically move that PCN workbook to the "Issued" folder, update the "Issued" worksheet, and then move the PCN workbook to the "Processed" folder - maybe I'll think about that and see if I can come up with something.
Anyway, I hope the above and the attached workbooks are helpful to you - please let me know how you get on with them.
Regards,
Greg M
P.S. It seems that I can attach a maximum of five files to a single post, so I'll attach the Master workbook and the three uncompleted PCN workbooks to a separate post
Bookmarks