How do I use C# to take a .XLS Excel file and make it .TXT Tab-Delimited file?

  • Thread starter Thread starter Sean Bergam
  • Start date Start date
S

Sean Bergam

Hi all,

I am trying to convert the first worksheet in an Excel file to a
tab-delimited .TXT file. How do I do that?

- Sean
 
Hi Seen,
Why don't you just use/invoke Save As with Text (Tab delimited) Save As Type?
How are you trying to do it?
What is your client application?
 
I guess because I don't know how to do that with C#. I said that in
the subject of my post. Is that possible?
 
Yes, it is possible. What Office version do you using? Do you working with
VSTO or simple COM interface?

Method you are looking for is Workbook.SaveAs with parameter FileFormat=xlText
 
Back
Top