XL: Error with Password-Protected File Containing PivotTableID: Q136142
|
In the versions of Microsoft Excel listed above, you may receive an error
if you attempt to change a PivotTable and the following are true:
To resolve this problem, obtain Microsoft Excel 97 for Windows or Microsoft
Excel 98 Macintosh Edition.
Microsoft provides programming examples for illustration only, without
warranty either expressed or implied, including, but not limited to, the
implied warranties of merchantability and/or fitness for a particular
purpose. This article assumes that you are familiar with the programming
language being demonstrated and the tools used to create and debug
procedures. Microsoft support professionals can help explain the functionality
of a particular procedure, but they will not modify these examples to
provide added functionality or construct procedures to meet your specific
needs. If you have limited programming experience, you may want to contact
the Microsoft fee-based consulting line at (800) 936-5200. For more
information about the support options available from Microsoft, please see
the following page on the World Wide Web:
http://www.microsoft.com/supportnet/refguide/
To work around this problem so that the error does not occur, you can
create an auto-open macro for the workbook containing the PivotTable so
that the PivotTable is automatically refreshed when the workbook is opened.
Sub Auto_Open()
Worksheets("Sheet1").PivotTables("PivotTable1").RefreshTable
End Sub
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. The problem was corrected in
Microsoft Excel 97 for Windows and Microsoft Excel 98 Macintosh Edition.
Additional query words: 5.00a 5.00c XL5 XL7
Keywords : kbtool
Version : WINDOWS:5.0,5.0c,7.0; MACINTOSH:5.0,5.0a
Platform : MACINTOSH WINDOWS
Issue type :
Last Reviewed: May 17, 1999