Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


recalculate excel formulas

From: "krasman" <krasman@-------.--->
To: NULL
Date: 4/28/2009 8:05:00 PM
hi,

i have an excel file with two sheets: sheet1 and sheet2. let's say that 
sheet1 cell A1 has a value. in sheet2, cell A1 there's a formula, something 
like Sheet1!A1 + 10. so, if i put 10 in sheet1, sheet2 should have 20. in 
excel 2007 this is a basic formula, and it works perfectly. however, i want 
to do the same thing using open xml sdk 2.0. i can insert values in sheet1, 
cell A1, but the sdk doesn't recalculate the value of sheet2, A1. using 
mycell.CellValue.Remove(), the formula is updated when i open excel. but i 
need do do this directly using sdk and not excel. something like:

my function()
   insert value in sheet1, A1
   do some processing
   get value from sheet2, A1 -> this gives the wrong value
   more processing
end function

can you help me?

thanks

kras 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent