I am trying to use the MkDir function to make a new subfolder of an existing folder path:
Public Sub Create_Folder(Job_Name As String)
Dim Folder_Path as String
Folder_Path = "C:\Dean\Documents\Work\" & Job_Name
MkDir (Folder_Path)
end Sub
where "C:\Dean\Documents\Work" is an existing folder structure.
When the Sub is called I get:
Run-time error '76':
Path not found.
What am I doing wrong?
Public Sub Create_Folder(Job_Name As String)
Dim Folder_Path as String
Folder_Path = "C:\Dean\Documents\Work\" & Job_Name
MkDir (Folder_Path)
end Sub
where "C:\Dean\Documents\Work" is an existing folder structure.
When the Sub is called I get:
Run-time error '76':
Path not found.
What am I doing wrong?