Hi,
i want to try export to excel with an empty Date or Datetime and
in the Excel File i become "-1" to show?!
What can i do for an empty Cell by an empty Date?
best regards Lars
DateTime defaultdate=DateTime.Parse("0001-1-1 00:00:00");
if (date!=defaultdate )
{
sheet.Range["A1"].DateTimeValue = date;
}