The information in this article applies to:
SYMPTOMSWhen you run a Visual Basic for Applications macro that refers to the DisplayDrawingObjects property of Microsoft Excel 97, you may receive the following error message:
CAUSEThis problem occurs when your macro contains a line of code that is similar to the following:
WORKAROUNDTo prevent this problem from occurring, use the constant xlAll instead of the constant xlDisplayShapes. For example, change the sample line of code to the following:
STATUS
Microsoft has confirmed this to be a problem in the Microsoft products
listed at the beginning of this article. This problem no longer occurs in
Microsoft Excel 2000.
MORE INFORMATIONIn Microsoft Excel, use the DisplayDrawingObjects property to determine how drawing objects are displayed in a workbook. You can use the following constants when you set the DisplayDrawingObjects property.
In Microsoft Excel 97, the Help topic for DisplayDrawingObjects indicates
that you can use the constant xlDisplayShapes instead of the constant
xlAll. This information is incorrect.
Additional query words: 97 XL97
Keywords : kberrmsg kbprg kbdocerr kbdta KbVBA |
Last Reviewed: November 5, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |