Salut,
vedacoe, tu peux proposer à l'utilisateur de choisir le fichier à traiter :
sub Vedacoe()
on error resume next
Workbooks.OpenText ouvf, xlWindows, , , , , True
if err<> 0 then msgbox "Vous n'avez choisi un fichier texte valide"
end sub
Function OuvF()
OuvF = Application.GetOpenFilename("Fichier Texte (*.txt), *.txt")
End Function
A+++