Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to search a file in VBA?
Message
Information générale
Forum:
Microsoft Office
Catégorie:
Excel
Divers
Thread ID:
01096801
Message ID:
01097060
Vues:
14
This message has been marked as the solution to the initial question of the thread.
Is this what you need?
Sub macro1()
   Set ofso = CreateObject("Scripting.FileSystemObject")
   MsgBox (ofso.fileexists("c:\hi.txt"))
End Sub
>I need a command to search if a file exists on a specific directory.
>How can I do that? Thank you!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform