Page 1 of 1

open txt file in excel

Posted: Mon Apr 15, 2013 8:52 pm
by jeroen123
hello Oleg,
I want to open a .txt file in excel.
I tried with keystrokes, but that is too weak..
you have any other way..?

best regards,
Jeroen

Re: open txt file in excel

Posted: Tue Apr 16, 2013 6:34 am
by Oleg
Use TXT file name as parameter in command line:
"<path_to_MS_Office>\EXCEL.EXE" <filename>.txt

for example:
"C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE" D:\Temp\list.txt