codice:
dim pathname as string 
pathname = "C:\Temp\*.*"
If Dir(pathname) = "" Then
    MsgBox "Cartella vuota"
End If