martinctc
11/11/2017 - 10:37 PM

[Time stamp in Excel VBA] Create time stamp string in Excel VBA #Excel VBA

[Time stamp in Excel VBA] Create time stamp string in Excel VBA #Excel VBA

Sub TimeStamp()

time_stamp = Format(DateTime.Now, "yyyyMMdd_hhmmss")

Debug.Print time_stamp

End Sub