Function TailleFichier(NomFichier) As Long Dim fs, f, taille As Long
Set fs = CreateObject("Scripting.FileSystemObject") Set f = fs.GetFile(NomFichier) taille = f.Size Set f = Nothing Set fs = Nothing TailleFichier = taille
Function TailleFichier(NomFichier) As Long
Dim fs, f, taille As Long
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFile(NomFichier)
taille = f.Size
Set f = Nothing
Set fs = Nothing
TailleFichier = taille
Function TailleFichier(NomFichier) As Long Dim fs, f, taille As Long
Set fs = CreateObject("Scripting.FileSystemObject") Set f = fs.GetFile(NomFichier) taille = f.Size Set f = Nothing Set fs = Nothing TailleFichier = taille