I got an Excel sheet with some formulas in them. What I'm trying to do is fill in a formula and let Excel calcute it, then return to me the outcome.
Let's say my formula ( which is in cell A3) look like this:
=SUM(A1+A2)
What I would like to do is fill in A1 and A2 from my c# code. Than read the outcome that is in A3. However, since this is for a website, I want multiple users to be able to calcute at once. So I suspect really opening the file will take too many resources.
I've searched high and low and found this: SpreadsheetGear. I'm not sure, but I think that library should do the trick. Too bad it is way to expensive for the simple things I need to accomplish.
Is there a (preferable free) way to return the value that Excel calculates based of my formula?