Publishing and Synchronizing Excel 2007 Tables to SharePoint Lists
Summary: In Microsoft Office Excel 2007, the ability to synchronize the data between a table and a list in Microsoft Windows SharePoint Services is deprecated. This article describes an add-in that enables you to update the information in a SharePoint list from Excel 2007.
Jon Adams, Microsoft Corporation
Frank Rice, Microsoft Corporation
June 2007
Applies to: Microsoft Office Excel 2007, Microsoft Windows SharePoint Services 3.0
Download Excel 2007 Add-in: Synchronizing Tables with SharePoint Lists.
Contents
-
Overview
-
Updating SharePoint Lists in Excel 2007
-
Installing the Excel 2007 SharePoint List Synchronizing Add-In
-
Publishing and Synchronizing Table Data to a SharePoint Site
-
Conclusion
Overview
In Microsoft Office Excel 2003, you can connect to (read from) and update (write to) lists that reside on SharePoint sites. This allows you to keep the information in your Excel 2003 tables synchronized with the information that appears on the SharePoint site.
In Microsoft Office Excel 2007, the ability to update the information in SharePoint lists from Excel is deprecated. Instead, Microsoft Office Access 2007 is the recommended platform for writing data to SharePoint lists and for using lists offline.
Updating SharePoint Lists in Excel 2007
In Office Excel 2007, the ability to update SharePoint lists changed in the following ways:
-
Existing files from Office Excel 2003 load and continue to support update functionality when opened in Excel 2007.
-
Lists that link to a SharePoint site are converted to read-only tables when you save existing files to the new Open XML file formats.
-
It is still possible to publish a table to SharePoint lists; however, this is a one-time write operation to Microsoft Windows SharePoint Services 3.0.
Before you despair, Jon Adams created an Office Excel 2007 add-in, Excel 2007 Add-in: Synchronizing Tables with SharePoint Lists, which adds a button to the Table Tools tab on the Office Fluent Ribbon. This add-in allows you to publish a read-write list to Windows SharePoint Services. Note that you cannot save the workbook in the new Office Open XML Formats. Instead, to retain the functionality, you need to save the workbook in the Excel 97-2003 (Biff8) file format.
Installing the Excel 2007 SharePoint List Synchronizing Add-In
To install the add-in for use in Office Excel 2007
-
Download and install the Excel 2007 Add-in: Synchronizing Tables with SharePoint Lists.
-
Start Office Excel 2007.
-
Click the Microsoft Office Button, click Excel Options, and then click the Add-Ins tab.
-
Select Excel Add-ins in the Manage drop-down list and click Go.
-
In the Add-Ins dialog box, click Browse, navigate to the Excel 2007 SharePoint List Synchronizing Add-in, and then click OK.
-
In the Add-Ins dialog box, verify that the SynchronizeWSSandExcel option is selected and then click OK.
Figure 1. The Add-Ins dialog with the Rwsplist option selected
Publishing and Synchronizing Table Data to a SharePoint Site
Using the add-in is simple, as you see in the following steps.
To add the add-in to a workbook
-
Save the workbook in the Excel 97-2003 (BIFF8) file format by clicking the Microsoft Office Button, pointing to Save As, and then clicking Excel 97-2003 Workbook.
-
Specify a file name, and then click Save.
To publish the table to a SharePoint list
-
Highlight the table. The Table Tools label is displayed above the Design tab.
-
Click the Design tab.
-
In the SharePoint group, click Publish and allow Sync.
Figure 2. The Publish and allow Sync button on the Design tab
-
In the Export Table to SharePoint R/W List dialog box, in the Address text box, type in the page address on the SharePoint site where you want to publish the list.
Figure 3. The Export Table to SharePoint R/W List dialog box
-
In the Name text box, type in the name of the list and, optionally, type a description for the list.
-
Click Publish. Navigate to the page that you specified earlier in SharePoint site and verify that the list published.
To update the SharePoint list
-
In the table in the workbook, make the changes to the data.
-
With the pointer in the table, right-click, point to Table, and click Synchronize with SharePoint.
Figure 4. The Synchronize with SharePoint option
-
In the browser, refresh the list and observe that the list reflects the changes.
Conclusion
Although the ability to update SharePoint lists from Office Excel 2007 is deprecated in favor of publishing and synchronizing lists using Office Access 2007, you can use the Excel 2007 SharePoint List Synchronizing Add-in to update SharePoint lists from Office Excel 2007.
Additional Resources
- 2/1/2012
- FlipFlop1974
- 6/2/2011
- TatorSauce
From the screen shot I don't see the options displayed on the right click within the menu.
- 4/27/2011
- Jarrod Armstrong
- 4/27/2011
- Jarrod Armstrong
GRRRR !!
- 4/22/2011
- omgiamaduck
Thanks, thanks a lot...
- 10/6/2010
- WannabeMSfan
- 9/3/2010
- katestr
- I've tried eveything it seems....2007, 2003, WSS , Moss....none of these addons work to get excel data into Sharepoint.
There is no "Browse..." in Publish button, user has to type the path as is if it is still 1989. On top of this the add-in does not work.
- 1/22/2010
- Yurly
I am pulling Data from my SQL server, which has its own ID, and crunching a bunch of data. i would like to use the SQL ID for Sync to SharePoint. Is there a way to unlock the ID Column so that I can change column numbers?
[tfl - 10 12 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
Windows : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.windows%2C&
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&
- 4/24/2009
- PC from DC
- 12/10/2009
- Thomas Lee
This is working in the developemt server but not working in ther web server. I tried the same steps from my local computer to web server through internet but it is giving run time error(Run time error '-2147467259 (80004005). So that I am not able to connect to the server.
Please give some solution on this.
[tfl - 10 12 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
Windows : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.windows%2C&
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&
- 10/7/2008
- Senthilrajan Kaliyaperumal
- 12/10/2009
- Thomas Lee
[tfl - 10 12 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
Windows : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.windows%2C&
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&
- 10/2/2008
- AdrianJMartin
- 12/10/2009
- Thomas Lee
i have installed everything everything, but not extra functioanlity.
What a mess to remove excel functionlity. Access is not the way to upgrade.
also, most of my users don't have Access, but only Excel.
when will this be solved?!?!?!?
[tfl - 10 12 09] Hi - and thanks for your post. You should post questions like this to the MSDN Forums at http://forums.microsoft.com/msdn or the MSDN Newsgroups at http://www.microsoft.com/communities/newsgroups/en-us/. You are much more likely get a quicker response using the forums than through the Community Content. For specific help about:
.NET Framework : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.dotnet.framework
PowerShell : http://groups.google.com/group/microsoft.public.windows.powershell/topics?pli=1
SQL Server : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.sqlserver%2C&
Visual Studio : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.vstudio%2C&
Windows : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public.windows%2C&
All Public : http://groups.google.com/groups/dir?sel=usenet%3Dmicrosoft.public%2C&
- 10/21/2008
- Bert vanDee
- 12/10/2009
- Thomas Lee
- 11/18/2009
- motionpotion
- 12/10/2009
- Thomas Lee
Dev. Team Help: Please put the code for Data functionality into Excel 07 or we will have to down revision Excel.
This is a huge miss on either the SharePoint Services team and/or the Excel 2007 team. I need to be able to copy and paste column and row content to new and existing lists. Plus perform calculations and update the list.
- 3/26/2009
- Becky_Finnick
- 2/10/2009
- cookieking
I installed the plug-in and its working extremely well. Thanks to the dreator of this plug-in.
Now my problem is that when i publish the list to sharepoint a field i have wich is of a date format looses the date property and on Sharepoint it is loaded as a string.
The thing is i want to use the list i publish to sharepoint to create a calendar view and i need the dates fields from the list.
ANybody please help.
thank you
- 11/28/2008
- Dzinga
Thanks for the add-in. I already downloaded and installed the add-in, saved the workbook in the 97-2003 format, tried publishing the table to a Sharepoint site, and got the following error "Run time error '-2147467259 (80004005)'. An unexpected error occurred. Changes to your data cannot be saved." Can you help me out on this? Looking forward to your replies. Thanks
Did you check the address that you were publishing to? I think that you need to be at the site level "breadcrumb" such as http://MySite not http://MySite/dev.aspx
- 8/19/2008
- Spevaforis
1. Thank you for creating add-in. We users all over the world using excel for offline data input to SharePoint lists.
2. I have installed the Add-In and have some questions:
a. I am confused how to use this add-in with existing lists. When I enter an existing list into the Publish dialog, I get an error message about the List already existing and recommends that I should rename the list.
b. I changed the publish macro by commenting out the publish logic. This allows me to sync with existing lists.
' If ListDescription.Value = "" Then
' retUrl = ActiveCell.ListObject.Publish(Array(ServerName.Value, ListName.Value), False)
' Else
' retUrl = ActiveCell.ListObject.Publish(Array(ServerName.Value, ListName.Value, ListDescription.Value), False)
' End If
' If retUrl <> "" Then
ActiveCell.ListObject.Delete
ActiveSheet.ListObjects.Add xlSrcExternal, Array(fullServerName, ListName.Value), True, xlYes, listPoint
' Else
' MsgBox "There was an error during publish, please check the server name"
' End If
Unload ExportRWList
3. could you please comment your code
4. could you provide the full source code, I do not understand how you are adding the sync item to the table drop down list and what code is firing when you select that item.
Noted by Junyan He:The server name's sample is "http://myserver:82",and the list name's sample is "50EE7790-5768-4AB7-B33D-FCCC09D5E5E2".The list name can be copied from Data Connection Attributes-Definition-Command Text.To get detail information please see KB930006 http://support.microsoft.com/kb/930006/en-us.
- 2/4/2008
- Barry Schneider
- 3/5/2008
- Junyan He