1. Dll file list (name + version)
for example:
Spire.XLS.dll v7.5.0.7020
Spire.License.dll v1.3.2.20
2. Operation System
Windows 7 Professional x64
Portuguese-PT
3. Project can reproduce the issue
- Code: Select all
CultureInfo cc = Thread.CurrentThread.CurrentCulture;
Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
Workbook workbook = new Workbook();
workbook.LoadFromFile(ssFilePath,ExcelVersion.Version2013);
//Initailize worksheet
Worksheet sheet = workbook.Worksheets[ssWorksheetName];
foreach (RCCellRangeRecord CellRange in ssInRange)
{
sheet.Range[CellRange.ssSTCellRange.ssCellCoordinate].Value = CellRange.ssSTCellRange.ssValue.ToString();
}
workbook.CalculateAllValue();
RCCellRangeRecord AuxCellRange = new RCCellRangeRecord();
RLCellRangeRecordList AuxCellRangeList = new RLCellRangeRecordList();
foreach (RCCellRangeRecord CellRange in ssOutRange)
{
AuxCellRange.ssSTCellRange.ssCellCoordinate = CellRange.ssSTCellRange.ssCellCoordinate;
AuxCellRange.ssSTCellRange.ssValue = Convert.ToDecimal(sheet.Range[CellRange.ssSTCellRange.ssCellCoordinate].FormulaStringValue.ToString());
AuxCellRangeList.Append(AuxCellRange);
}
ssOutValues = AuxCellRangeList;
Thread.CurrentThread.CurrentCulture = cc;
4. Test Document or Test data
Can't add attachment(Sorry, the board attachment quota has been reached.)
And i discovered a new problem (unknown formula IFERROR) maybe already exists a topic with that..
Regards,
FVAZ