G
Guest
Hi there, i have just used this code to create a folder using a field name
Dim strPath As String
strPath = "\\Server\Database\CKS\Data\" & Me.JobNo
If Len(Dir(strPath, vbDirectory)) = 0 Then
MkDir (strPath)
End If
Shell "explorer.exe " & strPath, vbNormalFocus
However i want to create more folders in the directory but have been
unsuccessful in my attempts, for example, in the newly created folder i want
to also put a 'Services' fo9lder in there, but i am struggling to do it, any
help much appreciated, thanks WK
Dim strPath As String
strPath = "\\Server\Database\CKS\Data\" & Me.JobNo
If Len(Dir(strPath, vbDirectory)) = 0 Then
MkDir (strPath)
End If
Shell "explorer.exe " & strPath, vbNormalFocus
However i want to create more folders in the directory but have been
unsuccessful in my attempts, for example, in the newly created folder i want
to also put a 'Services' fo9lder in there, but i am struggling to do it, any
help much appreciated, thanks WK