如何从大量Excell文件中读取日期 [英] How Do I Read Date From The Large Number Of Excell Files

查看:58
本文介绍了如何从大量Excell文件中读取日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好:



我在文件夹中有大约600个Excel文件



所有格式是(xls)



如何从所有文件中获取信息?



示例:如何获取datagridview中显示的所有文件的范围A1:B1值



坦克

hi all :

I have about 600 Excel files in the folder

all format is (xls)

How to get information from all the files ?

for examp : how to get value of range "A1:B1" from all files to show in datagridview

Tanks

推荐答案

快速答案是:使用Open XML SDK。

请参阅我过去的答案,引用其他一些答案:如何从MS Visual Studio 2010中的添加引用添加microsoft excel 15.0对象库 [ ^ ]。



-SA
Quick answer is: use Open XML SDK.
Please see my past answer referencing some other answers: How to add microsoft excel 15.0 object library from Add Reference in MS Visual Studio 2010[^].

—SA


这篇关于如何从大量Excell文件中读取日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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