COuld someone please assist me with reading from a text file in a macro without all the opening and closing appearing to the user.None of my books seem to cover this topic.I know you have to use Workbooks.OpenText Filename:="C:\dir\filename.txt", Origin:=xlWindows, _
StartRow:=1, DataType:=xlFixedWidth, FieldInfo:=Array(Array(0, 2), Array(6, _
9), Array(9, 1), Array(34, 1), Array(43, 9)) , but how would I work out what will be returned.
But where and how do I start counting to return only the information I need?
StartRow:=1, DataType:=xlFixedWidth, FieldInfo:=Array(Array(0, 2), Array(6, _
9), Array(9, 1), Array(34, 1), Array(43, 9)) , but how would I work out what will be returned.
But where and how do I start counting to return only the information I need?