469,921 Members | 2,176 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,921 developers. It's quick & easy.

C# Interop.Excel, ERROR: "your Data is DELIMITED" Choose File Type

Hi all,

I have an application that manipulates excel files without any problem.
The problem is for a certain folder where files are giving me an error: When I check those files Excel ask me to choose the file that best describes my data as the Text Wizard has determined that my data is delimited....
How can I modify my C# Net 2.0 M (COM Excel 11.0) program to bypass this error?
I am surprised because in my program, "t" has already been coded?????
Expand|Select|Wrap|Line Numbers
  1. Microsoft.Office.Interop.Excel.Workbook theWorkbook = ExcelObj.Workbooks.Open("C:/Report.xls", 0, true, 5,"", "", true, Microsoft.Office.Interop.Excel.XlPlatform.xlWindows, "\t" , false, false, 0, true, false, false);
Any idea how I can still use my program?

Thank you for your suggestions,
Jun 8 '07 #1
0 1109

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Teddy | last post: by
2 posts views Thread by Eric | last post: by
3 posts views Thread by =?Utf-8?B?YzY3NjIyOA==?= | last post: by
reply views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.