文本文件到Excel文件 [英] Text file to Excel file

查看:79
本文介绍了文本文件到Excel文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,我能帮我个忙吗?

如何将文本文件(.txt)转换为Excel文件(.xlsx).
我有一个共同基金文本文件.它包含许多与资产净值相关的数据.
我希望这些文本文件为excel格式.我不知道如何编码.




在此先感谢
pcy

解决方案

这里有一些链接

http://stackoverflow.com/questions/2488037/writing- text-data-file-using-c-sharp-to-excel [ http://stackoverflow.com/questions/2793975/import-txt-files-using-excel-interop-in-c-sharp-querytables-add [ 解决方案

Here Are Some Links

http://stackoverflow.com/questions/2488037/writing-text-data-file-using-c-sharp-to-excel[^]

http://stackoverflow.com/questions/2793975/import-txt-files-using-excel-interop-in-c-sharp-querytables-add[^]

This Will Help You


First of all, did you try the excel import wizard? Simpler solutions do tend to be overlooked... (In excel: File/Open/ then choose file type *.txt and then follow the wizard instructions. Don''t forget to back-up the file before probing it.


You don''t need code for that. Do you care to explain a little further what you need to do...


这篇关于文本文件到Excel文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆