Excel VBA Periksa apakah ada direktori

Public Function IsDir(s)
    IsDir = CreateObject("Scripting.FileSystemObject").FolderExists(s)
End Function
Excel Hero