Saving a file as the "date" it was created

  • Thread starter Thread starter Dave
  • Start date Start date
D

Dave

I have a load of spreadsheets that I need to file in the same folder.
The problem is each one has the same filename. Does anyone know how to
save a file as the date that it was created on thus saving me having to
go through 100's of files and do it manually.

Thanks

Dave Woodgate
 
Activeworkbook.SaveAs Filename:=Format(Now,"yyyymmdd hhmmss")&"
"&Activeworkbook.Name

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)
 

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