open txt file in excel

Discuss RoboTask here
Post Reply
jeroen123
Posts: 25
Joined: Wed Feb 15, 2012 5:35 pm

open txt file in excel

Post 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
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: open txt file in excel

Post 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
Oleg Yershov
Post Reply