There are several ways to do this. 1 method is to use Workbooks.OpenText.
You can use macro recorder to get basic syntax.
Ex:
Workbooks.OpenText Filename:="C:\SomeFolder\Test Input.txt", _ Origin:=xlWindows, StartRow:=1, DataType:=xlDelimited, TextQualifier:= _ xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=False, Semicolon:=False, _ Comma:=False, Space:=False, Other:=True, OtherChar:="-", FieldInfo:= _ Array(Array(1, 1), Array(2, 1), Array(3, 1), Array(4, 1)), TrailingMinusNumbers:= _ True
Bookmarks