![]() | ![]() | ![]() | ![]() | ![]() |
When sending stored process results from SAS Enterprise Guide to Microsoft Excel, Excel uses the SAS® Add-In for Microsoft Office to interpret and display those results. When the results are displayed, some of the formatting might be lost. Typically, the affected columns contain numeric values that include leading zeros and some date values. This problem occurs because Excel interprets the values as numeric before they are displayed.
To circumvent this issue, you must add a line to your SAS Add-In configuration file using the following steps:
SAS.OfficeAddin.dll.config
and place it in the installation folder for the SAS Add-In. The default location is usually something like c:\Program Files\SAS\Add-InForMicrosoftOffice\4.3\
.SAS.OfficeAddin.dll.config
and add the following lines:
<configuration> <assemblySettings> <add key="AllowExcelToInterpretValueType" value="false"/> </assemblySettings> </configuration>
configuration
and assemblySettings
tags already exist, just add the add key
tag above inside the assemblySettings
tag.Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Add-in for Microsoft Office | Microsoft® Windows® for x64 | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Enterprise Edition | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 Standard Edition | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2003 for x64 | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2008 | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows Server 2008 for x64 | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Microsoft Windows XP Professional | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Enterprise 32 bit | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Enterprise x64 | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Home Premium 32 bit | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Home Premium x64 | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Professional 32 bit | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Professional x64 | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Ultimate 32 bit | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows 7 Ultimate x64 | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows Vista | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 | ||
Windows Vista for x64 | 4.3 | 5.1 | 9.2 TS2M3 | 9.3 TS1M0 |