Pestomania
Active Member
- Joined
- May 30, 2018
- Messages
- 292
- Office Version
- 365
- Platform
- Windows
Hello,
This is a longshot but I don't know what else to try right now. I have a script that creates folders in the below structure:
Copies of the purchase orders are stored elsewhere (L:\Accounting\Purchasing - POs\2020 Purchase Orders\Period 1\0115251.pdf), the bold changes depending on year and period (month).
I need to create the script to go through these, "copy" the pdf file and save it in the folder structure accordingly (in this case; L:\Business Intelligence\Projects\Purchase Order Packing List Backups\2020\0115251).
If a pdf with the same name is already there, but the date modified is different, save a new copy, otherwise bypass.
Is this possible?
This is a longshot but I don't know what else to try right now. I have a script that creates folders in the below structure:
- Purchase Order Packing List Backup
- Purchase Order Year (ex. 2020)
- Purchase Order Number (ex. 0115251)
- Purchase Order Year (ex. 2020)
Copies of the purchase orders are stored elsewhere (L:\Accounting\Purchasing - POs\2020 Purchase Orders\Period 1\0115251.pdf), the bold changes depending on year and period (month).
I need to create the script to go through these, "copy" the pdf file and save it in the folder structure accordingly (in this case; L:\Business Intelligence\Projects\Purchase Order Packing List Backups\2020\0115251).
If a pdf with the same name is already there, but the date modified is different, save a new copy, otherwise bypass.
Is this possible?