Sub rename()
Dim ShellApp As Object, f As Object, Folder$, NewName$
Set ShellApp = CreateObject("Shell.Application")
Set f = ShellApp.BrowseForFolder(0, "CHOISIR UN DOSSIER D'IMAGES", 0, "")
If Not f Is Nothing Then Folder = f.Self.Path Else Exit Sub
fichier = Dir(Folder & "\*.jpg")
Do While fichier <> ""
If IsNumeric(Left(fichier, 8)) Then
NewName= Format(Left(fichier, 8), "####-##-##") & Mid(fichier, 9)
Name Folder & "\" & fichier As Folder & "\" &...