Microsoft KB Archive/235661

= WD97: Error "Word cannot edit the Microsoft Excel Chart" When Using DoVerb to Open Excel Chart Object =

Article ID: 235661

Article Last Modified on 1/24/2007

-

APPLIES TO


 * Microsoft Word 97 Standard Edition

-



This article was previously published under Q235661



SYMPTOMS
After you insert a Microsoft Excel Chart object into a Word 97 document and group it with an object such as a text box, the following error messages appear when you run a Visual Basic for Applications macro that uses the DoVerb method to open the Excel chart:

Word cannot edit the Microsoft Excel Chart

Run-time error "16389" Internal Error



WORKAROUND
Use the Open method instead of the DoVerb method to open the Excel object. For example, change the following code: ActiveDocument.Shapes(1).GroupItems(1).OleFormat.DoVerb 2 to ActiveDocument.Shapes(1).GroupItems(1).OleFormat.Open



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



MORE INFORMATION
Additional query words: vba word97 wd97 oleformat doverb open object excel97 xl97

Keywords: kbbug kbdtacode kbnofix KB235661

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.