1VBAnewbie
Technical User
I have looked at several posts and I have not been able to find the answer to my situation.
Using MS Excel 2003, I have a worksheet that contains a date entry in the format of mm/dd/yy. When I use the TransferSheet command within an MS Access 2003 function, the value populated within my Access table, named TempLoad, looks OK. However, when I take that date and insert it into a new MS Access table (FinalTbl), the entry becomes 30 Dec 1899.
The column for the Excel spreadsheet has been modified to a text field. The TempLoad Access table is also a text field. I attempt to convert the text field to a date field using the DateValue() function before it is inserted into FinalTbl.
I cannot find out why the value gets converted from the entered date (say 03/05/06) to Dec 30 1899. I am seeking in help that you may provide.
Using MS Excel 2003, I have a worksheet that contains a date entry in the format of mm/dd/yy. When I use the TransferSheet command within an MS Access 2003 function, the value populated within my Access table, named TempLoad, looks OK. However, when I take that date and insert it into a new MS Access table (FinalTbl), the entry becomes 30 Dec 1899.
The column for the Excel spreadsheet has been modified to a text field. The TempLoad Access table is also a text field. I attempt to convert the text field to a date field using the DateValue() function before it is inserted into FinalTbl.
I cannot find out why the value gets converted from the entered date (say 03/05/06) to Dec 30 1899. I am seeking in help that you may provide.