Hi Sachin,
You can convert excel files to comma separated files in several ways. You
can do it directly from Excel in save as, using the office API (requires
Excel installed)
ThisApplication.ActiveWorkbook.SaveAs("c:\\MyWorkb ook.xml",
Excel.XlFileFormat.xlCSVMSDOS, Type.Missing, Type.Missing,
Type.Missing, Type.Missing, Excel.XlSaveAsAccessMode.xlNoChange,
Type.Missing, Type.Missing, Type.Missing, Type.Missing, Type.Missing);
Or using an OleDB provider and write your custom method for reading excel
files and outputting as text files.
On Fri, 15 Dec 2006 06:35:57 +0100, pappu <gu*************@gmail.com>
wrote:
Hello friends,
I want to convert .xls file into text file.So can anybody pls
help me out.
Thxxxxxx,
Sachin.
--
Happy Coding!
Morten Wennevik [C# MVP]