I have the following codewhich contains the workbook name, and date, the code opens a new workbook and saves it under this name. I would like to add the time to this so that if i later run the program again it will have a different filename (different time)d = ThisWorkbook.path & "\Current Version " & "_" & Sheets("data").Cells(1, 209).Value & "_" & Day(Date) & "_" & Month(Date) & "_" & Year(Date) & ".xls"
Can anyone help with the correct statement to return the time?
Bookmarks