I want to make a script rule which sends to a sub folder, marks as certain category and saves attachment (90% of time PDF) in certain g:drive folder with a file naming convention.
Sub folders:
Direct
PO
Confirmation
Delivery Notes
Invoices
Statements
Categories:
PO
Confirmation
Delivery Note
Invoice
Statement
;don't require a "Direct Category"
I'm able to use normal Outlook rules for move to folder and assign category. There are about 30 individual rules based on supplier name. etc.
Had a look at some VBA scripts. Would I need 30 different scripts to tag onto my 30 current move to folder/assign category scripts to assign the separate file name pathways?
Or can I adapt a script that knows if a email hits "Invoice" it saves to G:\My Drive\Outlook attachments\Invoices
Email hits Delivery Notes it saves toG:\My Drive\Outlook attachments\Delivery Notes
File naming Convention; not thought too much into yet.
Date & Time received email and who supplier is. Joe Bloggs Ltd 17.09.21 11.34am
Also a way of marking if any duplicate files Joe Bloggs Ltd 17.09.21 11.34am (2)