Hello,
I have a folder full of txt files and I want to rename them using a vba sub routine. I want each file to be renamed to a string that is constructed from the contents of the first line of each file. I am planning on concatenating strings using the Mid() function on the first line of each file. I just don't know how to loop through the files, single out the first line, and rename the file. Any help would be much appreciated.
Cheers!
Bookmarks