Works with: Excel 97
Last Updated: 28-Dec-1999
Languages Supported: US English, International English, Pan Chinese, Simplified Chinese, Traditional Chinese, Czech, Danish, Dutch, Finnish, French, German, Greek, Hungarian, Italian, Japanese, Korean, Norwegian, Polish, Brazilian, Portugese, Iberian, Portugese, Russian, Spanish, Turkish


Excel 97 Update: Programmatic Text Export Click here to email this to a friend.

Microsoft has recently become aware of an issue found in Excel 97 when users programmatically export a spreadsheet to a text file. Unless you are running Excel on a computer using Microsoft Windows 2000, when you export a text file using the Excel object model (such as when using Microsoft Visual Basic for Applications), dates are exported in the format "mm/dd/yy" (for example, 11/25/99 for November 25, 1999). If you are running Excel on a computer using an earlier version of Microsoft Windows, four-digit years are truncated to the two-digit year format regardless of the date format applied to the cell and the system date settings. This behavior only occurs when you use a macro or procedure to export to a text file, not when you manually save to a text file format. If you are using Visual Basic for Applications to export files to TXT, PRN, CSV, or DIF formats (and you are not using Windows 2000), you need to install this update. For more information, read the Microsoft Knowledge Base article (Q247801) XL: Programmatically Exporting Text File Truncates Dates.

Note  This security update, which requires that you first install Office 97 SR-2, includes the Excel 97 Programmatic Text Export update, the Microsoft Excel 97 XLM Macro Security Update, and the Microsoft Excel 97 SYLK File Security Update. For additional information on the Excel 97 XLM macro security update, please see the Microsoft Knowledge Base article (Q255606) XL97: No Macro Virus Warning Opening Text File Containing XLM. For additional information on the Excel 97 SYLK file security update, please see the Microsoft Knowledge Base article (Q241902) XL97: Macro Virus Warning Does Not Appear When Opening SYLK File That Contains XLM Code.
If you are currently using Excel 2000, download the Microsoft Excel 2000 Programmatic Text Export Update.
If you are currently using Excel 95, download the Microsoft Office 95 Year 2000 Update.


To install this download:
You may want to print this page to use as a reference when you are offline.
Download the file from Office Update by clicking Download Now! at the top left of this page and following the instructions in the dialog boxes.
Double-click the xl8p9pkg.exe program file on your hard disk to start the setup program.
Follow the instructions on the screen to complete the installation.

Instructions for use:
Once you have completed the installation process, simply use Excel as usual.

To remove this download:
There is no uninstall utility for this update.