Results 1 to 2 of 2
  1. #1
    fluffyvampirekitten is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Jun 2015
    Posts
    108

    Customize Date Report when exporting the data to excel format

    Currently , I have a form that shows the data.
    All the date format display this kind of format " 12/17/1974"

    Click image for larger version. 

Name:	Capture.JPG 
Views:	13 
Size:	15.5 KB 
ID:	21717
    But when I export it to excel format
    The date is displayed as "17-Dec-74".

    Click image for larger version. 

Name:	Capture.JPG 
Views:	13 
Size:	17.9 KB 
ID:	21718
    However, when i double click on the cell ,it will show "12/17/1974"....
    Click image for larger version. 

Name:	Capture.JPG 
Views:	13 
Size:	20.6 KB 
ID:	21719




    I want the date to displayed in excel -> "17-Dec-1974" or "dd-mmm-yyyy"
    Any ideas how can i change the date format when manually formatting the date in excel .

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    Excel tends to do its own thing, esp with dates, or numbers.
    You could try, in the query, convert it to string, CSTR(format([date],"mm/dd/yyyy"))
    excel may keep it that way.
    if not, then youd have to, in excel, format the column.
    Excel is finicky.

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

Similar Threads

  1. Replies: 7
    Last Post: 10-11-2012, 01:08 PM
  2. Replies: 0
    Last Post: 09-26-2012, 12:20 PM
  3. Replies: 1
    Last Post: 09-06-2012, 12:33 PM
  4. Exporting a query to a specific Excel format
    By Ronald Mcdonald in forum Import/Export Data
    Replies: 3
    Last Post: 04-27-2012, 10:29 AM
  5. Date format exporting to txt
    By timpepu in forum Access
    Replies: 1
    Last Post: 04-20-2010, 08:20 AM

Tags for this Thread

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