Solved

excel data to SharePoint list automation

Posted on 2011-03-02
2
473 Views
Last Modified: 2012-05-11
I have an excel file that needs to be copied into a SharePoint list either daily or every other day and I am wondering if there is anyway to automate or at least streamline this provess.
0
Comment
Question by:Matt Pinkston
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Expert Comment

by:TEEDA
ID: 35020328
Excel autoreplublshing can be used to update charts, and though I havent tried it on a simple spreadsheet, I dont see why it wouldn't work for that too. Here's a link to an article that might help.

http://www.endusersharepoint.com/2009/08/17/using-excel%E2%80%99s-autorepublishing-to-create-sharepoint-charts-dashboards/

0
 
LVL 2

Accepted Solution

by:
ArticalBadBoy earned 500 total points
ID: 35029349
Easy...(assuming someone opens the spreadsheet every day)
1. If you are using Excel 07/10 you will need to download the MS addin SyncronizeWSSandExcel.xlam that allows publishing. (it was removed after 03)
2. Publish the data to a SharePoint list. (in Excel 07/10 you will need to place the data in a table first) The addin will add a button in the design ribbon for publishing to sharepoint. You will be asked where you want the list, and what name you want it to have.
3. Record a macro, right click on the table and syncronize the data with SharePoint. Stop the macro.
4. Go into VBA, to the ThisWorkbook page of the spreadsheet, and call the new macro as in example below.
Everytime the spreadsheet is opened, the macro will run, and the data will update sharepoint.
Private Sub Workbook_Open()
   Call PublishTabletoSharePointMacro
End Sub

Open in new window

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a serious pitfall that can happen when deleting shapes using VBA.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question