converting from .xls file to .txt file using c#

flipmodedsi

New Member
Joined
Nov 14, 2005
Messages
4
i need to convert an excel file into a txt file ....
any ideas wud be appreciated...

thank you...
flipmodedsi
 

Some videos you may like

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

tusharm

MrExcel MVP
Joined
May 28, 2002
Messages
11,028
Try this (not tested): In XL turn on the macro recorder (Tools | Macro > Record new macro...) do whatever it is you want by hand and turn off the recorder. In most cases XL/VBA will generate the necessary VBA code using the relevant properties and methods. You can than translate that into C#.
 

Watch MrExcel Video

Forum statistics

Threads
1,118,535
Messages
5,572,754
Members
412,482
Latest member
arooshrana2
Top