如何以编程方式在C#中使用Excel的文本导入向导 [英] how to use Text Import wizard of Excel in c# programmatically
本文介绍了如何以编程方式在C#中使用Excel的文本导入向导的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要使用Excel文本导入向导从c#将.txt/.dat文件转换为.csv文件.我有一个解决方案,可以在VB中完成这项工作,但是我无法将其转换为C#.通常,它们运行宏.无法找出解决方案.请帮忙.
I need to convert .txt/.dat files to .csv files using Text Import Wizard of Excel from c#. I have a solution which does this work in VB but, i am not able to convert it to c#. Typically they are running a macro. Not able to figure out the solution. Please help.
推荐答案
看看
C#-CSV导入导出 [
take a look
C# - CSV Import Export[^]
这篇关于如何以编程方式在C#中使用Excel的文本导入向导的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文