Hello
I have an Excel file which I load into an Infragistics.Excel.Workbook object. In this Excel file, I have a cell where I put a value, and another one which calculates something from the first one. In my code, I want to retrieve the resulting value from this second cell, but all I can get is the formula itself.How do I tell the Infragistics.Excel engine to give me the value, not the formula?ThanksGuy
Good job for next version.
Can't wait :D
Hi Guys,
I just confirmed that we will support this feature in the next release (2008.3).
Either reply to this post or send me an email if you have any more questions around this or feature needs on Excel.
Thanks
Jason
I Agree with siglr.
I have complex computation as a result of using multiple sheets and cells in excel for other cell.
This is funny. I have no use of this Excel dll, cause I have to do again computation for a large xls data source, just to get value from a cell that is already calculated within excel.
By the way... if you want to do Excel-like calculations and formulas in your application, then you might be looking for the UltraCalcManager component.
Hi Siglr,
The idea behind the Excel engine is to allow people to move data between Excel and the WinGrid. When we added the basic Export feature a couple of years ago, there was huge customer demand just to get the grid data into Excel so end users could mess around with it. Excel is a very usedful reporting tool. We added the ability to load Excel files into Workbook objects last year based on customer feedback that in certain cases they wanted to move data back into a WinGrid and persist it back to their data store.
When Exporting data to Excel, you can preserve the formula information from an UltraCalcManager that is bound to a WinGrid, as well as images and other formatting using the Infragistics.Excel engine. Since Excel is Cell based, you assign formulas on individual cells, when we export, since we have a clean Worksheet, we can assign the formulas correctly. But since the WinGrid is Column based, formulas are based on the entire column, not the cell. So we cannot gurantee that a formula would make any sense when brought back into the WinGrid from Excel.
I did get the email you sent to the productmanager address and I will make sure your feature request gets into the system.