XL98: Excel Quits Unexpectedly Running Macro That Creates Chart (186220)
The information in this article applies to:
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q186220 SYMPTOMS
If you use a Microsoft Visual Basic for Applications macro to create a
chart, you may experience one or more of the following problems:
CAUSE
You may encounter the problems described in the "Symptoms" section if both
of the following conditions are true:
- You are using the xlLocationAsObject constant for the Where argument of
the Location method.
-and-
- You are using an invalid string for the Name argument of the Location
method.
WORKAROUND
To prevent this problem with your macro, use a valid worksheet name for the
Name argument of the Location method.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Excel 98
Macintosh Edition.
REFERENCES
For more information about the Location Method, from the Visual Basic
Editor, click the Office Assistant, type location method, click Search,
and then click to view "Location Method."
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If the Assistant is not able to answer your query, please
see the following article in the Microsoft Knowledge Base:
176476 OFF: Office Assistant Not Answering Visual Basic Questions
Modification Type: | Minor | Last Reviewed: | 10/10/2006 |
---|
Keywords: | kbbug kbdtacode kbpending kbProgramming KB186220 |
---|
|