Hello,
I tried to use the following code (from EXCEL to text file)
to add system time (eastern time) as part of my .txt file name. So the file name should be
Update_testfile3_systemtime.txt
Open ThisWorkbook.Path & "\Update_testfile3" & Now - Int(Now) & ".txt" For Output As #1
But the output is like -
Update_testfile30.575925925928459.txt
I have no idea about these numbers. If it is possible to have the systemtime output like ddmmyysh (s means second, h means hour)?
I tried to use the following code (from EXCEL to text file)
to add system time (eastern time) as part of my .txt file name. So the file name should be
Update_testfile3_systemtime.txt
Open ThisWorkbook.Path & "\Update_testfile3" & Now - Int(Now) & ".txt" For Output As #1
But the output is like -
Update_testfile30.575925925928459.txt
I have no idea about these numbers. If it is possible to have the systemtime output like ddmmyysh (s means second, h means hour)?