0

How to save (in fact Save As) .xls file into a text file from C#. I tried File.Copy() but I am unable to see data. I am getting some special characters in the text file.

Any help would be appreciated.

Simon Adcock
  • 3,554
  • 3
  • 25
  • 41
Mujeeb
  • 83
  • 4
  • 14

1 Answers1

0

You should use the Microsoft.Office.Tools.Excel.Workbook.SaveAs() method

Simon Adcock
  • 3,554
  • 3
  • 25
  • 41
mikemurf22
  • 1,851
  • 2
  • 21
  • 32