One more thing. Whenever I open up the file generated from ASPOSE, and close it (without doing anything to the file), it always asks me to SAVE the file, as if I had changed something. However, once I save the file in Excel it never asks me to make this sort of “nothing changed yet ask for save” scenario.
You need to call the Workbook.CalculateFormula() method before accessing the values of the formula field.
Please see the following sample code for your reference. If you will comment the Workbook.CalculateFormula() method, then you will get blank values but if you will not comment it, you will get calculated values of the formula.
C#
Workbook workbook = new Workbook();
Worksheet sheet = workbook.Worksheets[0];
for (int rowCounter = 1; rowCounter < 10; rowCounter++)
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.