My regional settings in Windows for short date format is mm/dd/yyyy. When querying in MS Access, the dates indeed shows up in that format. However, when I export to Excel (use options "Export data with formatting and layout" and "Open the destination file..."), the spreadsheet shows the dates in format dd-mmm-yy.
Clicking on the column header in Excel, the format shows "General". However, when I click on the individual cell, it shows "Custom" with "dd-mmm-yy". Of course, I can click on the column header and change it to Short Date format, but I have to do that for every column that has dates in it.
Does anyone know what is causing this and how to make it so my dates exported from Access come over in short date format?
P.S. I don't want to use FORMAT in Access because then I have to do that every time I query a date field. Plus, the date exports as a string to Excel instead of a date.
Clicking on the column header in Excel, the format shows "General". However, when I click on the individual cell, it shows "Custom" with "dd-mmm-yy". Of course, I can click on the column header and change it to Short Date format, but I have to do that for every column that has dates in it.
Does anyone know what is causing this and how to make it so my dates exported from Access come over in short date format?
P.S. I don't want to use FORMAT in Access because then I have to do that every time I query a date field. Plus, the date exports as a string to Excel instead of a date.