If Not rs.EOF Then If Not rs = DBNull.Value Then 'DateReceived = rs![Date] xlApp.Sheets("Sheet1").Cells(RPos, "D").NumberFormat = "mm/dd/yy" xlApp.Sheets("Sheet1").Cells(RPos, "D").Value = DateReceived End If End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)