hello guys,i know this topic is very old, but it kind of describes perfect what i am looking for at the moment. i only have one important problem... the code doesnt seem to work for me... my VBE in excel is keep on saying me that custom type FSO is not defined...i think this script is exactly what im looking for but i can't try it, because the script doesnt work proper... it doesnt work at all...to describe the problem that i have: i want to rename *.JPG files with the fixed structure of something like '007_97_001.JPG'. the new names of the files are located in an excel sheet in one column...like i would have in a folder:007_97_001.JPG007_97_002.JPG007_97_003.JPGand i have a column in excel:measure_control1watermeter3waterpump11now i want to rename the old files in:measure_control1.JPGwatermeter3.JPGwaterpump11.JPGit would be really nice if anyone can answer <_<greetingsStefan