Hi
With the following code I can import comma delimited data from a text file into Excel.
The problem is that I cannot seem to figure out how to append the data from the text file to an existing Excel file. (adding to a new row each time.)
Any ideas? Would appreciate any help.
With the following code I can import comma delimited data from a text file into Excel.
The problem is that I cannot seem to figure out how to append the data from the text file to an existing Excel file. (adding to a new row each time.)
Any ideas? Would appreciate any help.
VB.NET:
With objExcel
.Visible = True
.Workbooks.OpenText(Filename:="c:\scripts1\New Text Document.txt", StartRow:=1, Tab:=True, Semicolon:=False, Comma:=True, Space:=True, Other:=False)
End With
Last edited: