Rename File

J

Jos Vens

Hi,

is there an easier way to rename a file than to copy it, save it as the
desired name, and kill afterwards the original file?

thanks,
Jos Vens
 
N

Norman Jones

Hi Jos,

Try:

Name OldName As NewName ' Move and rename file.


See Name Statement and example in VBA help.
 

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

Similar Threads


Top