It should work though. Change the path to yours
![]()
Sub jec() Dim ar ar = Split(CreateObject("scripting.filesystemobject").opentextfile("C:\xxx\xxx\xxx.txt").readall, vbLf) Range("A1").Resize(UBound(ar) + 1, 1) = Application.Transpose(ar) End Sub
It should work though. Change the path to yours
![]()
Sub jec() Dim ar ar = Split(CreateObject("scripting.filesystemobject").opentextfile("C:\xxx\xxx\xxx.txt").readall, vbLf) Range("A1").Resize(UBound(ar) + 1, 1) = Application.Transpose(ar) End Sub
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks