G
Guest
I want to create the "c:\test" directory if it isn't already created. If it
is created I want it to do nothing. So the first time I run my sub procedure
it does create the directory but the second time I run it, it does not do
nothing it gives me a runtime error. "Path/file access error on the MkDir
line. So I guess I need a better test than the one I have? Can you help?
tia,
If Dir(STR_DIRECTORY_PATH) = "" Then
MkDir STR_DIRECTORY_PATH
Else
End If
is created I want it to do nothing. So the first time I run my sub procedure
it does create the directory but the second time I run it, it does not do
nothing it gives me a runtime error. "Path/file access error on the MkDir
line. So I guess I need a better test than the one I have? Can you help?
tia,
If Dir(STR_DIRECTORY_PATH) = "" Then
MkDir STR_DIRECTORY_PATH
Else
End If