I have a c# program which needs to create an excel object, and do some operations, here are parts of my code:
// c# code: workSheet.Cells[1, 1] = \"=2012/9/20\
If you want to store a literal or preformatted value in an Excel cell, precede the value with a single quote '. For example, workSheet.Cells[1, 1] = "'2012/9/20";.
'
workSheet.Cells[1, 1] = "'2012/9/20";