Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Comma-Delimited and MS-DOS CSV Variations.

Comma-Delimited and MS-DOS CSV Variations

Written by Allen Wyatt (last updated June 24, 2023)
This tip applies to Excel 97, 2000, 2002, and 2003


Steve notes that Excel allows saving a worksheet in several different CSV formats. He understands the differences between most of the variants, but he's at a loss as to the difference between the "CSV (Comma delimited)" and "CSV (MS-DOS)" formats.

For most people there is very little difference between these two versions. (There are much bigger differences between these versions and the Macintosh CSV version, which Excel also supports.) The reason is that there is little difference between what the two formats create. With most data, you could create a file in the two formats and compare them byte-for-byte and find no differences.

The difference between the two is important, however, if you have certain special characters in text fields; for example, an accented (foreign language) character. If you export as Windows CSV, those fields are encoded using the Windows-1252 code page. DOS encoding usually uses code page 437, which maps characters used in old pre-Windows PCs. If you export as one and then import with a tool that expects the other, most things will look fine but you'll get unexpected results if, for example, you know someone with an umlaut (or other foreign character) in their name.

Essentially, CSV comma delimited is used by Windows and CSV MS-DOS is used by older DOS-based operating systems and you would rarely encounter issues except in the circumstances outlined above.

Additional information on code pages can be found at this Wikipedia page:

http://en.wikipedia.org/wiki/Code_page

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9507) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Comma-Delimited and MS-DOS CSV Variations.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Checking for Proper Entry of Array Formulas

Excel allows you to enter two different types of formulas in a cell: A regular formula or an array formula. If you need ...

Discover More

Sending Drawing Objects to the Back or Front

Drawing objects can be placed in a document in such a way that they overlap with each other. If you want to arrange those ...

Discover More

Having an Image Appear Multiple Times in a Worksheet

If you want an image to appear more than once in a worksheet, there are a few ways you can approach the issue. This tip ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!

More ExcelTips (menu)

Odd Behavior when Opening a Shared File with a Shortcut

Tracking down a problem that occurs with a single workbook can be vexing. One such problem occurred with Chris, and these ...

Discover More

Getting Input from a Text File

You can use a macro to read information from a text file. The steps are easy, and then you can use that information in ...

Discover More

Correctly Saving Delimited Files

Delimited files are often created through Excel so that your data can be exported to other programs. If the delimited ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 8 - 5?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


This Site

Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.