Matrixmatrix
Member
- Joined
- Sep 30, 2004
- Messages
- 7
- Programming Experience
- 1-3
Hello,... I'm new here.....
Is there a way to import a textfile to excel with fieldinfos (fieldinfo=Text)???
I'm now trying it for 2 days but i always get an error message....
Code sample from VBA:
Workbooks.OpenText Filename:= _
"file", Origin:= _
xlWindows, StartRow:=1, DataType:=xlDelimited, TextQualifier:= _
xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=False, Semicolon:=True, _
Comma:=False, Space:=False, Other:=False,
How can i specify this in .net?????
------------------------------------------------------------------
FieldInfo:=Array(Array(1, 1), _
Array(2, 1), Array(3, 1), Array(4, 1), Array(5, 2), Array(6, 1), Array(7, 2), Array(8, 1), _
Array(9, 1))
------------------------------------------------------------------
Trying to make an array fails.....
Please, help me....?
Is there a way to import a textfile to excel with fieldinfos (fieldinfo=Text)???
I'm now trying it for 2 days but i always get an error message....
Code sample from VBA:
Workbooks.OpenText Filename:= _
"file", Origin:= _
xlWindows, StartRow:=1, DataType:=xlDelimited, TextQualifier:= _
xlDoubleQuote, ConsecutiveDelimiter:=False, Tab:=False, Semicolon:=True, _
Comma:=False, Space:=False, Other:=False,
How can i specify this in .net?????
------------------------------------------------------------------
FieldInfo:=Array(Array(1, 1), _
Array(2, 1), Array(3, 1), Array(4, 1), Array(5, 2), Array(6, 1), Array(7, 2), Array(8, 1), _
Array(9, 1))
------------------------------------------------------------------
Trying to make an array fails.....
Please, help me....?