7,763
社区成员
发帖
与我相关
我的任务
分享
Private Sub Command1_Click()
a
End Sub
Sub a()
Dim filename As String
Dim FSO As FileSystemObject
Dim FS As TextStream
Dim tmpStr As String
filename = App.Path & "\" & "output" & Format(Now, "hhnn") & ".txt"
Set FSO = New FileSystemObject
Set FS = FSO.OpenTextFile(filename, ForWriting, True)
FS.Write "123 456 789 987 654 321"
FS.Close
Set FS = Nothing
Set FSO = Nothing
End Sub