A combination of FileSystemObject methods and objects, string functions such as Instr and Mid, and InputBox should do all that. Have a search.