Use a screen reader to export an Access table to a text file
Applies ToAccess for Microsoft 365 Access 2024 Access 2021 Access 2019 Access 2016

This article is for people who use a screen reader program such as Windows Narrator, JAWS, or NVDA with Microsoft 365 products. This article is part of the Microsoft 365 screen reader support content set where you can find more accessibility information on our apps. For general help, visit Microsoft Support.

Use Access with your keyboard and a screen reader to export data from an Access desktop database to a text (*.txt) file. We have tested it with Narrator, JAWS, and NVDA, but it might work with other screen readers as long as they follow common accessibility standards and techniques. You'll learn how to use the export wizard to export data, such as a table, query, form, report, or selected records in a multiple-record view, such as a datasheet, to a plaintext file, so that you can use the data in other apps that do not support Access data directly.

Notes: 

In this topic

Prepare your data for export

Before exporting your data, take a moment to review the data and decide how you want to export it.

  • Make sure the data doesn't contain any error indicators or error values. Otherwise, problems can occur during the export, and null values might appear in the text file. For troubleshooting info, go to the section Troubleshoot missing and incorrect values in a text file in Export data to a text file.

  • Choose the destination text file and text encoding. If you export a table, query, form, or report with formatting to an existing text file, the file will be overwritten. You cannot append data to an existing text file.

Export data with formatting and layout

When you export a form, report, or datasheet that contains subforms, subreports, or subdatasheets, only the main form, report, or datasheet is exported. You must repeat the export operation for each subform, subreport, and subdatasheet that you want to export to a text file.

You can only export one database object in a single export operation.

When you export data with formatting and layout to a text file, Access attempts to recreate the table layout using dash (-) and vertical bar (|) characters.

  1. After opening the source database, move to the Navigation Pane by pressing F6 until you hear "Navigation Pane" or the name of an Access object.

  2. To select the object to export, press the Tab key to move into the object list, and then use the Up and Down arrow keys to navigate to the object you want. If the object is a table, query, or form, and you want to export only a portion of the data, open the object in Datasheet View and select the records you want.

    Notes: 

    • You can't export a portion of a report. However, you can select or open the table or query that the report is based on, and then export a portion of the data in that object.

    • To open an object in Datasheet View, when on the object in the navigation tree, press Enter to open it. Press F6 until you hear "Status bar" and the name of the current view. Press the Right or Left arrow key until you hear "Datasheet View," and then press Enter to select. If the Datasheet View option is not available, you need to enable the view for the object. For instructions, go to Enable the Datasheet View for an object.

  3. To start the text file export wizard, press Alt+X, T. The Export - Text File dialog box appears.

  4. In the dialog box, do one of the following:

    • If you want to export the data to a new text file, press Alt+F to move the focus to the File name text field. Access suggests the name of the source object as the file name for the exported file. To change the name, delete the suggested name, and then type a new name.

    • If you have an existing text file to which you want to export the data, press Alt+R to open the File Save dialog box, and then browse for the file you want. When you're on the file, press Enter to select it. The dialog box closes, and the focus returns to the Export - Text File dialog box.

  5. If you're exporting a table or a query, press Alt+W to move to and select the Export data with formatting and layout option.

    Note: If you are exporting a form or report, this option is always selected, and you can't unselect it.

  6. If you want the destination text file to open automatically after the exporting completes, press Alt+A to move to and select the Open the destination file after the export operation is complete option.

  7. If the source object is open, and if you selected one or more records in the view before starting the export and these are the records you want to export, press Alt+S to move to and select the Export only the selected records option. If you want to export all the records displayed in the view, do not select this option.

    Note: If no records are selected, this option is not available.

  8. To confirm your selections and start exporting, press the Tab key until you hear "OK," and then press Enter to select it. If the text file you defined already exists, Access asks if you want to replace the existing file. To overwrite the file, press the Tab key until you hear "Yes," and then press Enter to select it. The Encode as dialog box appears.

  9. To select the text encoding and export the file, press the Up or Down arrow key until you hear the encoding you want, and then press Enter to select it.

  10. If the export was successful, Access prompts you to save the export steps to quickly repeat them without the export wizard. To select this option, press Alt+V. To name the export steps, press Alt+A, and then type a name for the export operation. To save the export steps, press Alt+S.

    If the export operation fails because of an error, Access displays a message that describes the cause of the error.

    If you selected to open the destination file, you can now review the export results in the default text editor on your computer.

Enable the Datasheet View for an object

  1. When on the object in the navigation tree, press Shift+F10 to open the context menu.

  2. In the menu, press D to open the Design View.

  3. In the Design View, press F4 to open the Property Sheet pane.

  4. Press F6 once. The focus moves to a property row in the Property Sheet pane. You hear the row number, followed by the property cell contents.

  5. To move the focus to the Selection type dropdown list, press Shift+Tab until you hear "Whole field," followed by the current value, and "Combo edit." If the current value is Form, you can proceed to the next step. Otherwise, press Alt+Down arrow key to expand the list, then press the Up or Down arrow key until you hear "Form," and then press Enter to select it.

  6. In the Property Sheet pane, press the Tab key until you hear the currently selected tab item, for example, "Data tab item, selected." If the current tab is the Format tab, you can proceed to the next step. Otherwise, press the Left or Right arrow key until you hear: "Format tab item." The properties of the Format tab are displayed.

  7. On the Format tab, press the Tab key until you hear: "Row four, No, collapsed." The focus is on the Allow Datasheet View property. To set the property to Yes, press Alt+Down arrow key, then press the Up arrow key once, and then press Enter to select the new value.

  8. To close the Property Sheet pane, press F4.

  9. To open the selected object in the Datasheet View, press Alt+J, D, W, and then H.

See also

Use a screen reader to create tables in Access desktop databases

Use a screen reader to create a query in Access desktop databases

Use a screen reader to create a form in Access desktop databases

Keyboard shortcuts for Access

Set up your device to work with accessibility in Microsoft 365

Technical Support for customers with disabilities

Microsoft wants to provide the best possible experience for all our customers. If you have a disability or questions related to accessibility, please contact the Microsoft Disability Answer Desk for technical assistance. The Disability Answer Desk support team is trained in using many popular assistive technologies and can offer assistance in English, Spanish, French, and American Sign Language. Please go to the Microsoft Disability Answer Desk site to find out the contact details for your region.

If you are a government, commercial, or enterprise user, please contact the enterprise Disability Answer Desk.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Find solutions to common problems or get help from a support agent.