473,216 Members | 1,257 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,216 software developers and data experts.

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

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

Aug 9 '05 #1
3 4099
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?
--
Leon Langleyben
MCSD
http://dotnetjunkies.com/WebLog/leon/
"Sean Bergam" wrote:
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

Aug 9 '05 #2
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?

Aug 9 '05 #3
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
--
Leon Langleyben
MCSD
http://dotnetjunkies.com/WebLog/leon/
"Sean Bergam" wrote:
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?

Aug 9 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Allison Bailey | last post by:
Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet...
0
by: Prasad Patil | last post by:
Hi, I have a asp.net/c# web application when i try to create the following excel object using the following code mentioned below I have Office 2003 installed on my PC, VS.Net 2003. but still it...
11
by: Mr. Smith | last post by:
Hello all, My code can successfully open, write to, format and save several worksheets in a workbook then save it by a given name, close and quit excel. My problem is that if I try and do it...
2
by: Tony Williams | last post by:
Is it possible to import a spreadsheet from Excel where the rows contain the field names rather than the columns? I'm creating an Excel spreadsheet but there are over 50 items to import and would...
9
by: Nathan | last post by:
A couple of months ago, I went looking for a .NET grid component with what I thought was pretty simple criteria - I wanted an interface that provided my users with Excel-like data entry capability....
3
by: | last post by:
Hello, I have a routine in my Windows application that exports the contents of a datagrid to Excel. It is modeled closely after the HowTo example on MSDN: http://tinyurl.com/5g2jm. Depending...
0
by: Bon | last post by:
Hello all I need to paste two pie charts in the MS Access 2000 Form. Actually, it is one of the Form in Tab folder. This is used to give customers a quick visual summary of how many do they buy...
2
by: Abdhul Saleem | last post by:
Hi, How to set text style for an excel cell progrmattically, which is equavalant to Excel->Format Cells->Number Tab->Text Regards, M. Abdhul Saleem.
1
by: mplsken | last post by:
I looked around for the right discussion thread to post this to, and apologize if this is the wrong one ... feel free to redirect me - I'm new to this board! I've seen several references in other...
2
by: Dhananjay | last post by:
Hi all , I have got problem when i am tring to exportGridview Data into Excel format. It is going into text format ,but what i want is if the field is number/currency then it should go into...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.