Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Renaming Files
I need some VBA code that will allow me to change the names of a larg
number of files spread through several sub directories. These files are a combination of Excel, Word Docs, Text files. Any assistance would be greatly appreaciated thanks in advanc -- Message posted from http://www.ExcelForum.com |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Renaming Files
Use "Name" which includes the full path. You can do this with any file.
Keep the same suffix eg. .xls .doc etc. The syntax is :- Code: -------------------- Name "C:\temp\OldName.xls" As "C:\temp\NewName.xls" -------------------- --- Message posted from http://www.ExcelForum.com/ |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Renaming Files
BrianB
Thanks for your reply It is exactly what I requir -- Message posted from http://www.ExcelForum.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Renaming Files w/Excel | Excel Discussion (Misc queries) | |||
Renaming Files | Excel Discussion (Misc queries) | |||
Renaming Files: Take 2 | Excel Programming | |||
Renaming files | Excel Programming | |||
Renaming Files | Excel Programming |