Article ID: 162025
Article Last Modified on 6/12/2007
APPLIES TO
- Microsoft Excel 97 Standard Edition
This article was previously published under Q162025
SYMPTOMS
When you run a Web query in Microsoft Excel 97, you may receive the
following error message:
An unexpected error has occurred
Your only option is to click OK. After you click OK, the Web query
stops, and no data is returned to the worksheet.
CAUSE
This error message occurs when the first line of text in the Web query
(.iqy) file is not uppercase letters.
RESOLUTION
To resolve this behavior, change the first line of text in the query file
to uppercase letters. For example, if the contents of the Web query file is
the following:
change the text to:
STATUS
Microsoft has confirmed this to be a problem in Microsoft Excel 97.
This problem no longer occurs in Microsoft Excel 2000.
REFERENCES
For more information about Web queries, click Contents And Index on the
Help menu, click the Index tab in Excel Help, type the following text
and then double-click the selected text to go to the "Create a Web query"
topic.
Additional query words: 97 XL97
Keywords: kberrmsg kbualink97 kbweb KB162025