This function first checks to see if a subfolder exists, and creates one if it does not exist. The function returns the path. It is dependent on the DirExists function.
FunctionCheckMakeFolder( root AsString, leaf AsString)AsStringDim strPath AsString
strPath = root &"\"& leaf
If NotDirExists(strPath)Then
Mkdir strPath
End If
CheckMakeFolder = strPath
End Function
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.