如何将Excel电子表格复制到Excel中 [英] How do I copy an excel spreadsheet into excel
本文介绍了如何将Excel电子表格复制到Excel中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用VB将excel文件复制到另一个Excel电子表格的最佳方法是什么?
我有一个excel电子表格,其中包含将使用的数据列作为另一个excel电子表格中的查找。这些值由用户维护。
我想在每次运行VB应用程序时将这个excel电子表格复制到另一个excel电子表格中。
如果可能,是否有我可以使用的示例代码。
提前谢谢
What is the best way to copy an excel file into another excel spreadsheet using VB
I have an excel spread sheet that has columns of data that will be used as lookups in another excel spread sheet. These values are maintain by a user.
I want to copy this excel spreadsheet into another excel spreadsheet everytime I run a VB application.
If possible, is there sample code that I could use.
Thanks in advance
推荐答案
你可以使用 Excel.Interop库 [ ^ ]。或者看看使用MS Excel( xls / xlsx)使用MDAC和Oledb [ ^ ]。
You could use the Excel.Interop library[^]. Or take a look at Working with MS Excel(xls / xlsx) Using MDAC and Oledb[^].
这篇关于如何将Excel电子表格复制到Excel中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文