tranchemontaigne
Technical User
Environment: Windows XP, MS Office 2000
Scenario: I have a code block that takes the results of a recordset and stores the values within an array of type variant. Results from the array are then written to cells in an MS Excel worksheet.
Problem: When dates are retrieved from the array and written to MS Excel, any dates that preceed 1/1/1930 are altered by adding 100 years. For example, 6/24/1912 becomes 6/24/2012 when written to MS Excel.
Question: Does anyone have a solution or tip I could use to overcome this bizarre behavior?
Scenario: I have a code block that takes the results of a recordset and stores the values within an array of type variant. Results from the array are then written to cells in an MS Excel worksheet.
Problem: When dates are retrieved from the array and written to MS Excel, any dates that preceed 1/1/1930 are altered by adding 100 years. For example, 6/24/1912 becomes 6/24/2012 when written to MS Excel.
Question: Does anyone have a solution or tip I could use to overcome this bizarre behavior?