XL2000: "Error -2147417848" Occurs When Data Fields Are Added to a PivotTable from VBA

This article was previously published under Q317782
This article has been archived. It is offered "as is" and will no longer be updated.
A Microsoft Excel spreadsheet contains Microsoft Visual Basic for Applications (VBA) script to create and format a series of PivotTables.

While the VBA script tries to add data fields to a PivotTable, the following error is received:
Run-time error '-2147417848 (80010108)': Method "Orientation' of object "PivotField" failed
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 has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date           Time   Version      Size       File name   ----------------------------------------------------------   01-Mar-2002   20:03    n/a         1,861,416  Excel.msp   01-Mar-2002   21:07    n/a         4,454,748  Excel_admin.msp   08-Mar-2002   11:55    n/a          2,733     Readme.txt      MSP contains   18-Feb-2002   21:02   6,852,649  Excel.exe				

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).
XL2000 pivot table VBA

Article ID: 317782 - Last Review: 10/26/2013 17:09:00 - Revision: 5.0

Microsoft Excel 2000 Standard Edition

  • kbnosurvey kbarchive kbhotfixserver kbqfe kbOffice2000SP3Fix kbbug kbfix kboffice2000presp3fix KB317782