Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
When I export a report to excel and my report has sum fields, I would like excel to create the fields into formula fields that I could manipulate the data in excel and the values will ripple thru to the sum fields.

Is this possible?

Thanks in advance
Posted
Comments
ZurdoDev 17-Jun-14 11:40am    
You'll have to write all the code to do it. Where are you stuck?
Maciej Los 25-Jun-14 16:03pm    
What have you done till now?

1 solution

It is possible to do, but you need to do some work.

1. If you have a pre-defined Excel sheet with formulas you can use OleDbConnection
How to insert data into excel 2007 using OleDbConnection in C#[^]

2. If you want to create everything from scratch, I would look into this site.
excellibrary

DataSet to Excel File Conversion using ExcelLibrary[^]

I hope this helps you forward.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900