This project has moved. For the latest updates, please go here.

Keep as text

May 24, 2012 at 8: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?

Coordinator
May 24, 2012 at 3:40 PM

cell.SetValue("1/1")

May 25, 2012 at 6:53 AM

thanks. That does the tric.