Hi
Please excuse I'm not a native speaker.
I know the following vbs-code starts Excel:
dim app
set app= createobject("Excel.Application")
app.visible=true
Now i want the following vba-code insert in my vbs-code, so this happend:
the user clicks a button on my website, vbscript starts Excel ,open the file
Ergebnisse.txt and make the formatsettings i want(Import the textfile etc.)
vba-code:
Workbooks.OpenText Filename:="C:\Ergebnisse.txt", Origin:=xlMSDOS, _
StartRow:=1, DataType:=xlDelimited, TextQualifier:=xlDoubleQuote, _
ConsecutiveDelimiter:=False, Tab:=False, Semicolon:=True,
Comma:=False _
, Space:=False, Other:=False, FieldInfo:=Array(Array(1, 2), Array(2,
2), _
Array(3, 2), Array(4, 2), Array(5, 1)), TrailingMinusNumbers:=True
Any Hints? Thanks