la funzione DIR
così funziona:
così nocodice:If Dir("C:\Documents and Settings\UTENTE\Desktop\Nuova cartella\tmp", vbDirectory) = "" Then MsgBox "la dir non esiste" Else MsgBox "la dir esiste" End If
mi dice sempre ke la cartella c'ècodice:Dim cartella As String cartella = Dir("C:\Documents and Settings\UTENTE\Desktop\Nuova cartella\tmp") If Dir(cartella, vbDirectory) = "" Then MsgBox "la dir non esiste" Else MsgBox "la dir esiste" End If![]()
xkè?