Click here to Skip to main content
15,917,060 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Comments
[no name] 26-Sep-14 16:41pm    
It's hard to tell what you have tried but if it were me, I would probably connect using OLEDB and query the information that I wanted.
amirpooya 27-Sep-14 2:53am    
Do not have the speed problem ?

1 solution

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
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900