Author: Tobias Zimmergren
Url: http:https:https://zimmergren.net//zimmergren.net//www.zimmergren.net
In this post I will briefly describe how you can connect your excel spreadsheet to a SharePoint list using Excel Services.
I will not go into any details as to what Excel Services is, how you get it online or what the great uses are. I will simply step you through the process of creating a spreadsheet and publish it in a document library and be able to open it in your browser.
For any theory on Excel Services, consult any of the hundreds of blogs out there that is talking about it.
Now, let’s get started…
First, I created a Document Library called “Excel Documents”


Secondly, you need to make sure that SharePoint has a trusted file location to use. To set a trusted
file location, go to Central administration and then your SSP admin-page.
Choose “Trusted File Locations”

Create your Trusted File Location (I chose to use my default website as a trusted file location for this demo)

Next, fire up Excel 2007 by either opening an existing excel document or create a new one. I chose to create a new one for demonstration purpose.
Fill in some sample-data, if you decided to create a new one.

When your Excel spreadsheet is complete, choose to publish it by choosing the Office button -> Publish -> Excel Services and then fill in the URL to the document library where you want to save your Excel spreadsheet (for instance, in your newly created doclib)

When it’s published the file will open in your browser.. Close that window and go to your Document Library and choose Settings -> Document Library Settings -> Advanced settings. Make sure the “Browse-enabled Documents” is set to “Display as a webpage” in order to open the Spreadsheets in your browser instead of Excel.

Now when you click your excel spreadsheet in your Document Library, it will look like this:

Now wasn’t that simple? This was just a very simple scratch on the surface, leave a comment if you want a deep-dive into Excel Services (So I know it’ll be worth my time to blog about it ;) )
Cheers!
Comments are closed
Archived comments
Hi,
This article is greatly described. This is very useful for me as beginner. Here is some other area in excel service that i would be like to see in your blog.
1. Publish a excel to Excel service and design a report in report designer and show the report in SharePoint Site.
2. Publish a excel file to Excel service and then consume that using Rest API
Thanks,
Kamal
This was a great article. After following your simple example, I had a clean looking read only view of the data.
Have you considered an article that would allow the user to edit the data from the excel service view - or is that not an option?
Thank you so much!
Hi Larry,
I'm glad you liked it and thank you for the comment.
If I find the time to write a more elaborate article I will, but it is quite unlikely to be honest. The target version wouldn't be SharePoint 2007 either, it would be 2013/Office 365 if that matter :-)
Tobias.
Hi Tobias, Can I make Excel workbook to editable after deployed in the Web part sharepoint ?