Range range = worksheet.get_Range(worksheet.Cells[2, 1], worksheet.Cells[RowCount + 1, ColCount]);range.NumberFormat = @"yyyy-mm-dd"; //日期格式