Immediate Solutions for Everyday Business Problems

Using Excel’s AutoRepublishing to Create SharePoint Charts & Dashboards

Original Publication Date: Monday, August 17, 2009
Filed Under: Dashboards, Document Management, Libraries and Lists, Web Parts, William Hakos
SharePoint User Level: Power User

 

Guest Author: William Hakos

Most organizations have been using Excel to do analysis, create charts and design dashboards for years, yet there is a lot of functionality in Excel that is not easily accessed in SharePoint, sometimes even for those with Excel Services. The question becomes, how does one translate their work from Excel to SharePoint? This means more than linking to an Excel workbook in a Document Library; rather, it requires displaying the charts and dashboards directly within SharePoint.

For this process to work, there are several things that need to be set up in advance:

Part 1: Publishing Excel to SharePoint

Once a SharePoint site and document library are set up, open the Excel workbook to the first chart, table or dashboard to publish.

Excel AutoRepublishing

The next step is to select the cells to publish, but it is important to note that you must select all the cells that are underneath the chart (in this case note the range of B6 to Q19), rather than selecting the chart itself. With that in mind, follow the steps below:

Excel AutoRepublishing

Excel AutoRepublishing

The next step is important, as there is a distinction between Publishing and Saving, and between publishing only what you have selected, rather than the whole workbook. To publish your selection, follow the steps below:

Excel AutoRepublishing

A dialogue box will pop up, and you should consider whether you want this information to be updated in SharePoint whenever changes are made to the underlying chart in Excel.

Excel AutoRepublishing

Once you click Publish, the Web Page version of that chart will be saved to the document library.  If you selected AutoRepublish, you will receive the following message every time this workbook is re-saved.  Select Enable the AutoRepublish feature and the chart will be republished the moment you hit OK.

Excel AutoRepublishing

Part 2: Creating our SharePoint Dashboard

Now that the Excel Chart is published as a web page, the next task is to display the chart on your site.  For this, you must use the Page Viewer Web Part, following the steps below:

Excel AutoRepublishing

Repeat the steps above for all the charts/cell ranges that you would like to display on your SharePoint Dashboard.  Below is an example of what this will look like as you add charts.

Excel AutoRepublishing

Congratulations, you now have a great technique for creating dashboards and displaying information on SharePoint while doing all the work in Excel.

A few additional tips:

WilliamHakosGuest Author: William Hakos

Bill Hakos started in the Actuarial department of Northwestern Mutual as an Actuarial Associate before moving into an Analysis Services role in the Delivery, Excellence & Quality division  of Information Systems.  Being the youngest member of the team at the time, he was deemed the most likely to know about Web 2.0 and was appointed a SharePoint Team Lead.  Bill has enjoyed the opportunity to explore SharePoint and encourage adoption.  When not enjoying scintillating SharePoint discussions, Bill likes to spend time with books, friends, his wife, and her dog.  Not necessarily in that order.

Spread the word...
  • Digg
  • Facebook
  • StumbleUpon
  • Google Bookmarks
  • LinkedIn
  • Reddit

Notify me of comments to this article:


Comments

14 Responses to “Using Excel’s AutoRepublishing to Create SharePoint Charts & Dashboards”

  1. Alistair Pugin on August 17th, 2009 1:09 pm

    Great Post. Had a client with WSS looking for just this!!

    Thanks a Ton.

  2. Dody Suria Wijaya on August 18th, 2009 12:28 am

    Excellent tips. Very useful, especially since this technique uses out of the box functionalities from sharepoint and excel. No more OWC.

  3. David Farquhar on August 18th, 2009 2:17 am

    This is a great tip. One thing I noticed though was that in order for the republish to work, I had to be in the sheet that contained the chart when I saved the worksheet. Otherwise the web page created ended up as blank. Is this something others have seen? Its a bit frustrating because it means I have to be careful to be in the correct sheet everytime I save the worksheet

  4. SharePoint Daily on August 18th, 2009 7:44 am

    Apple vs. Google vs. Microsoft; “Friends Don’t Let Friends Use IE6″; Windows 7 – Microsoft’s Best OS Ever?…

    Top News Stories Myth Busting for SharePoint Novices (Search Win IT) There are still plenty of IT professionals…

  5. Sandy Ussia on August 18th, 2009 1:55 pm

    Very helpful, thanks! I had been part-way there with saving a snip of my chart to a file and viewing it with a PVWP, but the AutoRepublish is definitely better. However, I can’t see how to choose a Doc Library to publish the chart to within the Excel dialog – I ended up having to save it as an htm file on the server, though the PVWP can still access it (but I know it’s better to have it stored in SharePoint).

  6. Using Excel’s AutoRepublishing to Create SharePoint Charts & Dashboards « Groen als MOSS on August 19th, 2009 6:08 am

    [...] : Using Excel’s AutoRepublishing to Create SharePoint Charts & Dashboards Tags van Technorati: Excel,Charts,Dashboard [...]

  7. William Hakos on August 20th, 2009 7:09 am

    David, I saw your comment about having to be on the same sheet for AutoRepublishing. That may very well be true for the initial Publishing, but I do not appear to have to do that for Republishing. I set up a workbook where I publish separate charts on 7 different sheets and have not had any issues with it so far.

  8. William Hakos on August 20th, 2009 7:12 am

    Sandy, I am not sure the issue you are having in terms of being unable to browse for a library. In the Publish dialogue box there is a Browse feature next to File name:. Otherwise you may be able to choose initially when you do your Save As. If you can save an Excel workbook to a document library, then you should be able to do this the same way.

  9. Karen Phillippi on August 20th, 2009 5:16 pm

    This was an awesome article! I had to make some modifications, probably to work around specific settings at my organization, but I put a couple charts on a site and they look great!

    Sandy, I have the same issue because browsing freestyle through the network to find my site would take forever. I save a shortcut to my document libraries on my desktop by using the Open in Windows Explorer option in the document library and then saving a link to the folder onto my desktop. Then when use the browse option when saving I just navigate to the desktop and choose the library that I want to save to. I don’t think I would have to use this work around if I had Office 07 instead of using Office 03 with SharePoint 07.

  10. Josh Sikorski on August 21st, 2009 9:52 am

    This is a great post. I was able to very easily create some nice charts that our team is very excited about leveraging.

    I did run into one issue while implementing this. I was using autopublish and was trying to save my charts to a Document Library that had “checkout required” turned on. When I saved the Excel spreadsheet, I got an error saying that it could not access the published web pages. I ended up creating a new Document Library that did not require checkout and pointing my published web page charts there. Once I did that, I had no further issues with the autopublish. Hopefully this will save anyone else who runs into this issue some time!

  11. Areon Jackson on August 21st, 2009 12:13 pm

    I can not get this to work for me. Is the Enterprise version required? I have created a Doc Library and turned off versioning and Check-In/Out. The error is “Microsoft Office Excel has encountered a problem and needs to close. We are sorry for the inconvenience.”

    Any ideas?

  12. William Hakos on August 24th, 2009 7:00 am

    You do not need the Enterprise version. That’s a generic error that can occur due to a number of issues. Other than making sure all patches are up to date, I would not know how to go about fixing that.

  13. William Hakos on September 4th, 2009 11:04 am

    I have run into a few people with issues publishing when they are in a different active sheet. I noticed today that Microsoft released a hotfix in February in part to fix:

    “You select the AutorePublish every time this workbook is saved check box in the Publish as Web Page dialog box. However, when you save the Excel workbook, only the active sheet is published.”

    Here is a the link to the patch. http://support.microsoft.com/kb/966310/

  14. Olga Allocco on October 14th, 2009 4:12 pm

    Many thanks for this great post, William. I was successful using Excel 2003 (local file) and WSS 3.0. I haven’t tried using this approach with a n Excel 2003 chart stored in a document library on SharePoint. That’s my next test…

Leave a Reply