05-18-2009, 11:42 AM
Can you show me an example how to use Workbooks.OpenText with QM?
Workbooks.OpenText in Excel
|
05-18-2009, 11:42 AM
Can you show me an example how to use Workbooks.OpenText with QM?
05-19-2009, 10:34 AM
05-19-2009, 12:03 PM
Thanks.
The problem is how include FieldInfo. In excel: Sub Macro1() ' ' Macro1 Macro ' ChDir "C:\" Workbooks.OpenText Filename:= _ "C:\TXT.TXT", Origin:=xlWindows, _ StartRow:=1, DataType:=xlDelimited, TextQualifier:=xlDoubleQuote, _ ConsecutiveDelimiter:=False, Tab:=True, Semicolon:=False, Comma:=False _ , Space:=False, Other:=False, FieldInfo:=Array(Array(1, 1), Array(2, 2), _ Array(3, 4)) Application.Run "checkname" End Sub
05-19-2009, 12:45 PM
05-19-2009, 01:23 PM
Now, it works!
Thanks for all. |
« Next Oldest | Next Newest »
|