Results 1 to 5 of 5
  1. #1
    Coffee is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2011
    Location
    Australia
    Posts
    31

    Exporting to Excel Help

    hey,

    i am trying to export my query data to an excel spreadsheet, but when i do the date/time gets auto formatted from "5/07/2011 8:12:59 AM" to "5-Jul-11".



    i know how to change the format back in excel, but for the average user this would be an inconvenience...so is there some way to export it to excel and keep the date/time formatting so the time is still shown and can be saved?


    using SQL queries not design view

    cheers

  2. #2
    khalid's Avatar
    khalid is offline MS-Access Developer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2010
    Location
    Kuwait
    Posts
    244
    try to change your date field to text field before exporting it to excel sheet.

  3. #3
    Coffee is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2011
    Location
    Australia
    Posts
    31
    if you export it as text then it will output the time as well but in 24hr time. like 2/07/2011 14:22. and will leave off the seconds and AM/PM values

  4. #4
    Coffee is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2011
    Location
    Australia
    Posts
    31
    no body knows how to do this?? ;/

  5. #5
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    format([DateField], "medium date")

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Exporting Datasheet to Excel
    By evhfan2000 in forum Access
    Replies: 1
    Last Post: 06-16-2011, 05:36 PM
  2. Exporting to Excel
    By TheDeceived in forum Programming
    Replies: 0
    Last Post: 11-15-2010, 08:56 AM
  3. Exporting to Excel
    By DreamOn in forum Import/Export Data
    Replies: 1
    Last Post: 05-23-2010, 10:27 PM
  4. Really Need Help With Exporting to Excel
    By graviz in forum Import/Export Data
    Replies: 0
    Last Post: 09-24-2009, 08:29 AM
  5. Exporting a Report to Excel
    By bullwinkle55423 in forum Reports
    Replies: 0
    Last Post: 12-11-2007, 10:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums