Automatically saving worksheet by the date

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

How do I make a macro to save my worksheets by date(Apr
14,2004 and so on)?.
 
Hi
in your macro something like
dim fname
fname = format(date,"MMM_DD_YYYY") & ".xls"
activeworkbook.saveas filename:=fname
 

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