Good afternoon all,

I recently had some help massaging some code to add & delete directories from windows explorer and now I am looking at doing something similar for outlook.
I have loan applications added to a spreadsheet via a userform and when I add a new loan, it creates a directory to store documents in. Once the loan is finalised, it deletes the directory.

So, with outlook, I would like to be able to add a new subfolder to a specific inbox to store emails from the customer. Then once it is finalised, not to delete the folder, but to archive it to a specific directory in a .pst file.

The code I have to add the directory in explorer is:

Please Login or Register  to view this content.
Is anyone able to help with the code that will add a directory in outlook using the same strDir value?

Thanks in advance