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



The information in this article applies to:

  • Microsoft Word 97 for Windows

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


Modification Type:MajorLast Reviewed:11/14/2000
Keywords:kbbug kbdtacode KB235661