Need suggestions here as I am creating a folder using MkDir and the folder name is an input in a cell from the user.
After creating this folder I further need to create sub folder.
strOrderNo stores the input value from the user.
Following is the code used and though the order no folder is created, not able to create sub folder invoices.
On Error Resume Next
MkDir "C\" & strOrderNo
MkDir "C\strOrderNo\Invoices"
On Error GoTo 0
On Error Resume Nextyou don't see your error messages (it turns off all error messages). Because you don't see them, you don't know which the error message is, and that is why you cannot fix the error.