Save as "date"

  • Thread starter Thread starter spinner
  • Start date Start date
S

spinner

does anyone knows how to save an excel file with the date of today? needs to
work automaticly everyday
Any ideas?
 
Hi
from within VBA you may use something like
sub save_date()
Dim fname
fname = "mybook" & format(now,"YYYYMMDDHHSS")
fname = fname & ".xls"
ActiveWorkbook.SaveAs Filename:=fname
end sub

Though this is NOT automatic.
 

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