View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Saving file with current date

You're missing some quotes

ActiveWorkbook.SaveAs Filename:="C:\Excel Test\Test" &
Format(Date,"mm-dd-yyyy") & ".xls"


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"rglasunow " wrote in message
...
Is it possible to save my active workbook with the current date in it.
I am currently using the following code but it is not working

ActiveWorkbook.SaveAs Filename:="C:\Excel Test\Test & Format(Date,
"mm-dd-yyyy") & .xls"

Thank you, so far you all have been a huge help to me!!!


---
Message posted from http://www.ExcelForum.com/