try below code: ActiveWorkbook.SaveAs "c:\dhartikumar - " & Format(Date, "dd-mmm-yyyy") & ".xls"
On Wed, May 27, 2009 at 5:52 PM, Dhartikumar Sahu <dhartiku...@gmail.com>wrote: > hi all > > can anybody help me for saving the file with current date. (e.g. > dhartikumar - 27 May 2009) > in macro code. > > Thanks & Regards > Dhartikumar > > > > > -- Thanks & Regards, Harmeet Singh --~--~---------~--~----~------------~-------~--~----~ ------------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com ------------------------------------------------------------------------------------- -~----------~----~----~----~------~----~------~--~---