Sub read_file()
strFileName = "c:\mdb\readme.txt"
Set objFileSystem = CreateObject("Scripting.FileSystemObject")
Set objfile = objFileSystem.OpentextFile(strFileName)
Do Until objfile.atendofstream
'objfile.Write (str_message)
strRecBuff = objfile.readline
MsgBox strRecBuff
aaa = Split(strRecBuff, " ")
MsgBox aaa(0) & "," & aaa(1) & "," & aaa(2)
Loop
objfile.Close
End Sub
0 件のコメント:
コメントを投稿