Hello,
Something like this?
Sub Test()
Dim filename As String
Dim currentDateTime As String
Dim currentfolder As String
currentfolder = Dir(ThisWorkbook.Path, vbDirectory)
currentDateTime = Format(Date, "dd-mm-yyyy hh.mm.ss")
filename = currentfolder & " " & currentDateTime & "...