La siguiente función crea el directorio pasado (strDirectoryPath) si no existe.

Public Sub CheckDir(strDirectoryPath As String)
If Dir(strDirectoryPath)<>”" Then
MkDir strDirectoryPath
End if
End Sub

Leave a Reply