View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Wira Wira is offline
external usenet poster
 
Posts: 6
Default Rename file based on current date

Hi guys,

I want to rename excel file based on current date and i would prefer the
format as "ddmmyy". Here is part of the coding:

ActiveWorkbook.SaveAs Filename:= "C:\qadzidr\My Documents\29Apr05am.xls" _
, FileFormat:=xlNormal, Password:= _
"", WriteResPassword:="", ReadOnlyRecommended:=False, CreateBackup:= _
False

Appreciate ur help!!