Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing MS Office document data from SPFile object

Status
Not open for further replies.

whysean

Programmer
Jun 16, 2006
1
US
I am trying to create an event handler that, when an excel document is checked into a sharepoint document library, will read through the document and pull out some key fields and insert them into an SQL database.

So far I have managed to create the event handler, and capture the checkin event, and I have been able to get reference to the document in the form of an SPFile object which seems to be a container for the binary data of the file.

My question is, how do I access this data? Where do I find the .NET classes that will allow me to, for example, read the contents of cell "A1" of the first worksheet in the checked in Excel file?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top