This project has moved and is read-only. For the latest updates, please go here.

Keep as text

May 24, 2012 at 9:16 AM

I have a problem. I have a text 1/1 and i want to display this value in excel file.

However, excel changes this text to 1-1-2012 (a date). Is there a way with closedxml to prevent excel doing this?

May 24, 2012 at 4:40 PM

cell.SetValue("1/1")

May 25, 2012 at 7:53 AM

thanks. That does the tric.