You would need a column with old names and a column with new names.
Assume old names are in column 1 and new names in column 2, with names
starting in row 1
sPath = "C:\Myfolder\"
for each cell in Range(Cells(1,2),Cells(1,2).End(xldown)
name sPath & cell as sPath & cell.Offset(0,1)
Nextd
--
Regards,
Tom Ogilvy
"electrica7926 " wrote in
message ...
Does anyone have a macro that will rename excel files with text from a
cell within the file?
---
Message posted from http://www.ExcelForum.com/