Renaming Files

  • Thread starter Thread starter mudraker
  • Start date Start date
M

mudraker

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
 
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:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top