c# - Number stored as Text -


i'm updating values in excel template , keep getting currency fields have green triangle in top corner , "number stored text" message. how excel recognize cell number , want treat way since have cell formatted currency? (just happens if i'm on cell in excel, hit f2, , hit enter)

here's simplified version of i'm doing:

uint32value moneyformat = report.createcellformat(report.stylesheet, fontindex, backgroundindex, borderindex, 168); report.updatevalue("workbook", "i29", "1234.56", moneyformat, true, string.empty); 

and here's image of cells s

you might find answer in post:

open xml sdk 2.0 - how update cell in spreadsheet?

probably datatype of cell not set correct.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -