Import/Export Text Files

 

This article describes how to import or export text files. Text files can be comma separated (.csv) or tab separated (.txt)

Import

To import text files, execute the following steps.

1. On the File tab, click Open.

2. Click Browse.

Click Browse

3. Select Text Files from the drop-down list.

Import Text File

4a. To import a .csv file, select the Microsoft Excel Comma Separated Values File and click Open. That's all.

4b. To import a .txt file, select the Text Document and click Open. Excel launches the Text Import Wizard.

5. Choose Delimited and click Next.

Text Import Wizard - Step 1 of 3

6. Clear all the check boxes under Delimiters except for the Tab check box and click Next.

Text Import Wizard - Step 2 of 3

7. Click Finish.

Text Import Wizard - Step 3 of 3

Result:

Excel File

Export

To export text files, execute the following steps.

1. Open an Excel file.

2. On the File tab, click Save As.

3. Click Browse.

Click Browse

4. Select Text (Tab delimited) or CSV (Comma delimited) from the drop-down list.

Export Text File

5. Click Save.

Result: a .csv file (comma separated) or a .txt file (tab separated).

Csv File Txt File

If you're new here, welcome to Excel Easy! Join over 1 million monthly Excel learners. You can find popular courses here: Excel Functions and Data Analysis in Excel.