Excel VBA Vérifiez si le répertoire existe
Public Function IsDir(s)
IsDir = CreateObject("Scripting.FileSystemObject").FolderExists(s)
End Function
Excel Hero
Public Function IsDir(s)
IsDir = CreateObject("Scripting.FileSystemObject").FolderExists(s)
End Function
If Dir("C:\Temp\xxx", vbDirectory) = "" Then
MsgBox "Doesn't exists"
End If