Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

export an excel file from sharepoint

Posted on 2011-09-30
3
Medium Priority
?
384 Views
Last Modified: 2012-05-12
There is some code/werbparts on our site that display a lot of data in a grid on our site.  In addition, they have another page with a few charts.

I need a way to create functionality to export this to excel so the user can click a button and save everything.

The chart will actually have to be built in excel, I can't just grab the picture from the website and display it.

Also, the data from the grid will have to be put into a spreadhseet.  I am not as worried about this part.

I have exported to excel before, but it was just basically printing some data which was tab delimited with a certain doc type .

This actually will need to use different work sheets and use some excel functionality.

(I need a better answer than use excel services)
Thanks!
0
Comment
Question by:jackjohnson44
[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
3 Comments
 
LVL 18

Expert Comment

by:dj_alik
ID: 36896023
Export SharePoint List to Excel Spreadsheet Programmatically using C#
http://www.etechplanet.com/blog/export-sharepoint-list-to-excel-spreadsheet-programmatically-using-c.aspx
0
 

Author Comment

by:jackjohnson44
ID: 36905154
Thanks, but that is not what I am looking for.  That creates an xls file with only text.  I am looking to make a compled xlsx document.
0
 
LVL 18

Accepted Solution

by:
dj_alik earned 2000 total points
ID: 36907860
You can use a library called ExcelLibrary. It's a free, open source library posted on Google Code:
http://code.google.com/p/excellibrary/
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

610 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