Link to home
Start Free TrialLog in
Avatar of Wayne Markel
Wayne MarkelFlag for United States of America

asked on

Exporting date fields to Excel

Exporting my report from Access to Excel causes Date Fields to format incorrectly.  This can be resolved by reformatting the date column after exporting, but I would like for that to be automatic.

Attached is a sample Access database to illustrate the issue

Open the report and manually export to Excel.

Windows 7, Access 2010, Excel 2010
ExportDateIssue.accdb
Avatar of Phillip Burton
Phillip Burton

It's confused because of your formatting of mm-yy.

Change the report to dd-mmm-yy, and it will export fine.
Avatar of Wayne Markel

ASKER

Yes that works to export Day, Month, and Year, but my client wants only the month and year in the exported Excel file since it is a billing period not a billing date.  They can reformat to mm/yy after opening the Excel file, but would like that to be automatic.  Yes it is a cosmetic issue, but that is what they have requested.

Am I misunderstanding your answer?
ASKER CERTIFIED SOLUTION
Avatar of Phillip Burton
Phillip Burton

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Immediate response and followup.
or change the control source of the period to
=Format([BillingPeriod],"mm/yy")
(requires giving the control another name)
Super!