VBA格式化当前时间,用于保存文件的文件名

文件名 & "【" & CStr(Format(Now, "yyyy-mm-dd hh-mm-ss")) & " " & "】" 

原文地址:https://www.cnblogs.com/lybstudy/p/10744183.html