Problem Note 32777: Refreshing data doesn't return the expected number of rows in Excel with the SAS Add-In for Microsoft Office
In the SAS Add-In for Microsoft Office, if you first set the Number of records to display to fewer records than are returned by a filter, but you then change your request to display more records than are returned by the filter, you might not see all of the records in the spreadsheet.
The following steps explain how to reproduce this problem.
- Create a dataset as follows:
data testlib.amotest;
do i=1 to 200;
output;
end;
run;
|
- Open Excel and select SAS→Options.
- Set Number of records to display to 50 and click OK.
- Select SAS→Open Data Source→Into Worksheet.
- Select
testlib.amotest
and then click Open.
- On the Variables tab, move the variable
i
to the right.
- Click the Filter tab and create the following filter:
i is less or equal to 120
- Click OK to display the first 50 observations (i=1 to 50).
- Click Page forward to display the next 50 observations
- Select SAS→Options.
- Change Number of records to display to 150 and click OK.
- Click on the data cell and then click Refresh.
You will notice that only 70 observations are displayed (i=51 to 120), rather than 120 (i=1 to 120). The
Page backward button is also disabled, so that you can't display the first 50 observations. If you are on the first page of the worksheet when you refresh, the worksheet will show all of the expected observations.
Select the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS Add-in for Microsoft Office | Microsoft® Windows® for x64 | 2.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft Windows 2000 Advanced Server | 2.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Server | 2.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Datacenter Server | 2.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows 2000 Professional | 2.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows NT Workstation | 2.1 | | 9.1 TS1M3 SP4 | |
Microsoft Windows Server 2003 Datacenter Edition | 2.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Enterprise Edition | 2.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft Windows Server 2003 Standard Edition | 2.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Microsoft Windows XP Professional | 2.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
Windows Vista | 2.1 | 4.2 | 9.1 TS1M3 SP4 | 9.2 TS2M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2008-07-25 14:48:50 |
Date Created: | 2008-07-24 09:57:41 |