![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi Using Dev Ashish's code from a previous email I have been able to successfully export output from a query to an EXCEL spreadsheet however the all time fields are appearings as dates ie) 0/01/1900 12:25:00 PM If I manually format the column on the spreadsheet to a time type all is well but I wondering if there is an automatic way to do this, maybe inside Dev Ashish's Automate VBA code. Thanks Laurie |
#3
| |||
| |||
|
|
lesparke (AT) austarnet (DOT) com.au (Laurie) wrote in message news:<fef26cb7.0312181804.66af2fd3 (AT) posting (DOT) google.com>... Hi Using Dev Ashish's code from a previous email I have been able to successfully export output from a query to an EXCEL spreadsheet however the all time fields are appearings as dates ie) 0/01/1900 12:25:00 PM If I manually format the column on the spreadsheet to a time type all is well but I wondering if there is an automatic way to do this, maybe inside Dev Ashish's Automate VBA code. Thanks Laurie Hello Laurie, I ran tests to see if I could produce the same results you state above and I did. At this time, I'm still working on it. But, as a stop gap measure, I did find that if I opened the Excel file and highlighted the offending column, I could change the column property to Time and it changed the data accordingly. Perhaps you could try and see if this works in the mean time. Another thing you can do temporarily is to make your time field a text field with an input mask set to "Long Time". O'well, keep on trying. Regards, Ray |
![]() |
| Thread Tools | |
| Display Modes | |
| |