joshua.perry
New Member
- Joined
- Dec 2, 2005
- Messages
- 2
I have a problem with my code to record a timestamp using VB in Excel 97.
Although the code recorded dates correctly for times in late November, now at the start of December the code is recording the day and the month the wrong way round (ie 2nd December 2005 becomes 12th February 2005)
My timestamp recording code is
Worksheets("Sample").Cells(x,y) = Date & " " & Time
Does anyone know how to tweak this to get an accurate timestamp that Excel recognises????
Ta very much
Although the code recorded dates correctly for times in late November, now at the start of December the code is recording the day and the month the wrong way round (ie 2nd December 2005 becomes 12th February 2005)
My timestamp recording code is
Worksheets("Sample").Cells(x,y) = Date & " " & Time
Does anyone know how to tweak this to get an accurate timestamp that Excel recognises????
Ta very much