c# - How do I make Excel cell contents show a different value -


i have excel vsto file makes chart of data entered. whenever cell gets value 'e' sums value of other cells , displays result in cell.

i want cell keep showing value 'e' instead of sum calculated. how can this?

you can give cell numberformat of "e". display e not change underlying value of cell...

you need escape quotation marks.

target.numberformat = "\"e\""; 

nb.

(this method work if underlying value of cell number).


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -