Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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/ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do i create a macro to rename worksheets in excel? | Excel Discussion (Misc queries) | |||
How do I rename files that are related. | Excel Discussion (Misc queries) | |||
Help to rename files | Excel Worksheet Functions | |||
Copy and rename files from hyperlink | Excel Programming | |||
Rename Batch of Files in VBA | Excel Programming |