Home » excel » SharePoint 2010: working with Excel files

SharePoint 2010: working with Excel files

Posted by: admin May 14, 2020 Leave a comment


i am developing a SP2010 site on which i want to store some data files in xls format. here is the logic of how it works:
1) the user uploads file to specific data library.
2) the data from the file must be parsed and put into a list.

so here’s the question: how can i parse an excel file inside an event receiver? are there any other tools besides excel services?

How to&Answers:

Your best option will be the OpenXML framework:

The only downside of this approach is that this framework only works with Office 2007/2010 documents.

If you have to use Office 2003 documents, you might want to have a look at Office Automation, which requires installing Office on the (SharePoint) Server: