Data Import & Export

Fix Cannot Export Access Query to CSV in Microsoft 365

Steve KSteve K Oct 26, 2026 868 views

Question details

Users are unable to export Microsoft Access queries directly to CSV or text files without encountering errors.

How to Fix Cannot Export an Access Query to CSV in Microsoft 365
Product
Microsoft Access
Device & OS
not provided
Scenario
Attempting to export data from a Microsoft Access query into a CSV format to import into a different system.
Observed behavior
The direct export to CSV fails, often due to embedded double quotation marks or delimiters in the data, even though exporting the same query to Excel works successfully.
Before you start

Verify that your data does not contain hidden or unsupported characters, and back up your Access database before running any bulk update queries to modify field values.

Solution 1Recommended

Export via Excel and Save as CSV

Bypass the Access text export bug by first exporting the query to an Excel workbook, then saving that workbook as a CSV file.

Since Access frequently handles Excel exports more reliably than direct text exports, using a spreadsheet application as an intermediary format is the most straightforward workaround.

1
Export to Excel

In Microsoft Access, right-click the query you want to export, select 'Export', and choose 'Excel'.

2
Save the Excel File

Follow the prompts in the Export wizard to save the data to your computer as an .xlsx file.

3
Convert to CSV

Open the exported file in Excel (or a compatible spreadsheet tool), go to 'File' > 'Save As', and select 'CSV (Comma delimited)' from the file format dropdown.

Export via Excel and Save as CSV
Quotation Mark Warning: Standard spreadsheet applications do not automatically add quotation mark delimiters around all text fields when saving as CSV. If your destination system requires text qualifiers, you may need a VBA script.
Free Microsoft Office alternative

Handle CSV Conversions Seamlessly with WPS Office

If you need a reliable way to open exported Access data and convert it to CSV formats, WPS Spreadsheet is a powerful, lightweight alternative to Microsoft Excel. It handles data formatting effortlessly without requiring a paid subscription.

  1. 1. Download and Install: Download WPS Office for free from the official website and install it on your computer.
  2. 2. Open the Exported File: Launch WPS Spreadsheet and open the .xlsx file you exported from Microsoft Access.
  3. 3. Save as CSV: Click on 'Menu' > 'Save As', select 'CSV (Comma delimited) (*.csv)' from the format dropdown, and click Save.
100% compatible with Microsoft Excel formats, including .xlsx, .xls, and .csv.Lightweight software that runs smoothly on older or lower-spec devices.Free alternative to manage spreadsheet data without expensive Microsoft 365 subscriptions.Familiar user interface ensures zero learning curve when migrating from Microsoft Office.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the Access export wizard fail when exporting to a text file?

This issue usually occurs due to unsupported characters in the data fields, such as embedded double quotation marks or delimiters like commas. It can also be caused by specific bugs in certain versions of Microsoft 365.

Will exporting to Excel first keep my quotation marks intact?

Standard Excel typically strips double quotation marks when saving as a CSV unless the field itself contains a comma. If your destination system strictly requires text qualifiers around all fields, you may need to use a custom VBA routine to generate the text file manually.

Can I use the 'Export Data with Formatting and Layout' option instead?

While that option is available in the ribbon, it is generally impractical for raw CSV data exports because it includes structural visual formatting (like headers and column spacers) that interferes with clean data imports in other software.