Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL2000: Cannot Set the Orientation Property of a Pivot Field


View products that this article applies to.

Symptoms

When you try to use Microsoft Visual Basic for Applications to set the Orientation property of a pivot field in a PivotTable, you receive the following error message:
Unable to set the Orientation property of the PivotField class
NOTE: You can successfully set the property manually.

↑ Back to the top


Cause

This error message occurs when you try to set the Orientation property of a field that contains more than 8,000 unique values.

NOTE: In Excel 2002, before you install Microsoft Office XP Service Pack (SP-2), the error message may occur when a field contains more than 32,500 unique values.

↑ Back to the top


Resolution

To resolve this problem, obtain the latest service pack for Microsoft Office 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
276367 OFF2000: How to Obtain the Latest Office 2000 Service Pack
The English version of this fix should have the following file attributes or later:
   Date         Time   Version     Size       File name     
   ----------------------------------------------------------
   25-FEB-2002  17:59  N/A         1,853,700  Excel.msp
   25-FEB-2002  19:00  N/A         4,452,188  Excel_Admin.msp
				
After the hotfix is installed, the following files will have the listed attributes or later:
   Date         Time   Version     Size       File name     
   ----------------------------------------------------
   22-MAR-2002  01:13  9.0.0.6221  7,159,853  Excel.exe     
				

NOTE: This problem was fixed in Excel 2002 by the Microsoft Office XP Service Pack 2 (SP-2).

For additional information about how to download and install Service Pack 2 (SP-2), click the article number below to view the article in the Microsoft Knowledge Base:
325671 OFFXP: Overview of the Office XP Service Pack 2

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

This problem was first corrected in Microsoft Office 2000 Service Pack 3 (SP-3).

↑ Back to the top


Keywords: KB318063, kbhotfixserver, kbqfe, kbofficexpsp2fix, kbofficexppresp2fix, kboffice2000presp3fix, kbfix, kbbug, kboffice2000sp3fix

↑ Back to the top

Article Info
Article ID : 318063
Revision : 6
Created on : 10/11/2006
Published on : 10/11/2006
Exists online : False
Views : 237