how dow you save a file with date and time.
this is my code this work but if i add Time i get error
Here with Time in it and i get a error
this is my code this work but if i add Time i get error
Code:
ActiveWorkbook.SaveCopyAs "D:\Colpitt\Machine\Data\Alarms " & Day(Date) & "-" & Month(Date) & "-" & Year(Date) & ".xls"
Here with Time in it and i get a error
Code:
ctiveWorkbook.SaveCopyAs "D:\Colpitt\Machine\Data\Alarms " & Day(Date) & "-" & Month(Date) & "-" & Year(Date) & "-" & Time (Now) & ".xls"