Help to create folder in location

well, the path would be:

strPathPrefix = "\\4GLOBALCORP-PC\Database\Customers\Julian Assange
strPathPrefix = "\\4GLOBALCORP-PC\Database\Customers\Donald Trump
strPathPrefix = "\\4GLOBALCORP-PC\Database\Customers\Fred West

etc....

What I need is to create a new folder inside the folder that this code creates. the code creates a folder names Docs inside each customer.

Ah, I missed your comment here:-

"the code creates a folder names Docs inside each customer"

So the correct answer to my question would be:-

strPathPrefix = "\\4GLOBALCORP-PC\Database\Customers\Julian Assange

strPathPrefix = "\\4GLOBALCORP-PC\Database\Customers\Julian Assange\Docs

Sent from my SM-G925F using Tapatalk
 
Quick recap:-

I have revisited the sample database I posted and I find that it correctly creates a folder with the customer name in this format:- "FName LName" within this customer name folder a subfolder named "Company" is created. ("Company" was your original brief)... You should be able to change the code yourself to reflect the new name "Docs" you require.

If it's not working on your machine you will have to give a good explanation of the problem. Without good feedback, that is feedback that demonstrates you are at least attempting to do something yourself then I am unwilling to offer you any more support.

Sent from my SM-G925F using Tapatalk
 

Users who are viewing this thread

Back
Top Bottom