LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open a text file as excel file

Hi all,

 

I just want to show a text file (tab seperated) as an excel file. I just wanted to use the syst exec.vi for this. Anyone have any idea how to do it?

 

Your help is greatly appreciated.

 

Regards,

Muthuraman S

Regards,
Muthuraman
0 Kudos
Message 1 of 3
(2,327 Views)

Hi Muthuraman S,

you can open the file with this "excel 'filename'", but it only opens the file, it'll not separate your data into different cells.

 

Mike

0 Kudos
Message 2 of 3
(2,319 Views)

Even if you want to show a txt file as an Excel file, the file extn needs to be changed to .xls by saving the original file as a copy & then opening it using the ActiveX Excel functions or the RG toolkit. It is better to save it as a .csv instead of a Tab delimited Excel file.

 

I m not sure how you are going to do this using the System Exec.vi. Smiley Indifferent

- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 3 of 3
(2,313 Views)